Skip to main content
The RCO Enforcer is a black police van with a prisoner box at the back. It is sold at the RCO Vehicles dealer like every RCO vehicle (see Overview).

Seats

Six seats: the driver, one passenger up front and four prisoners in the box, on two benches facing each other. Behind the van there is one prompt for the box. Each player who presses it gets the next free seat, from the cab towards the doors, and climbs in through the double rear doors. A seat that is taken is never offered.

Siren

The driver presses G to switch the siren on and G again to switch it off. It takes the horn’s key: the Enforcer has no horn. The rotor spins and the red lamp lights up, and everyone nearby hears it. The siren switches off when the driver gets out. In the Enforcer’s config/config.lua:

API for police jobs

Your police job can put a player in the box: handcuffed, he can’t walk, so the Enforcer’s own animation takes him from behind the van to his seat. The exports run on the prisoner’s client. Your job decides on its server who may arrest whom (job, distance, handcuffs); the Enforcer trusts that check.
PutInBack stops the player’s current animation (the handcuff pose) so the climb-in plays. Put the handcuff pose back afterwards if your job uses one. The Enforcer’s lock doesn’t stop the export. A prisoner still leaves the box if he dies or the Enforcer is put away.
In the RCO Cars bundle every car lives in one resource: call exports['rco-cars']:PutInBack(...) instead.