Cuffs the nearest player from the front.
TriggerEvent('ak47_policejob:cuff:near')Cuffs the nearest player from behind.
TriggerEvent('ak47_policejob:backcuff:near')Removes handcuffs from the nearest cuffed player.
TriggerEvent('ak47_policejob:uncuff:near')Toggles escorting the nearest restrained player.
TriggerEvent('ak47_policejob:escort:near')Ties the nearest player using rope.
TriggerEvent('ak47_policejob:tie:near')Unties the nearest restrained player.
TriggerEvent('ak47_policejob:untie:near')Places the nearest escorted player into a vehicle seat.
TriggerEvent('ak47_policejob:putinvehicle:near')Pulls a player out of the nearest vehicle.
TriggerEvent('ak47_policejob:pulloutvehicle:near')Places a blindfold on the nearest player.
TriggerEvent('ak47_policejob:setblindfold:near')Removes the blindfold from the nearest player.
TriggerEvent('ak47_policejob:removeblindfold:near')Sends the nearest vehicle to the police impound lot.
TriggerEvent('ak47_policejob:impoundvehicle:near')Sends the nearest vehicle to the police depot.
TriggerEvent('ak47_policejob:depotvehicle:near')Seizes the nearest vehicle into police custody.
TriggerEvent('ak47_policejob:seizevehicle:near')Queries registration information for the nearest vehicle plate.
TriggerEvent('ak47_policejob:checkplate:near')Forces the local player to enter the nearest vehicle trunk.
TriggerEvent('ak47_policejob:getintrunk:near')Places the nearest escorted player into the vehicle trunk.
TriggerEvent('ak47_policejob:putintrunk:near')Pulls a player out of the nearest vehicle trunk.
TriggerEvent('ak47_policejob:pullouttrunk:near')Applies prison sentence parameters to the local player.
TriggerEvent('ak47_policejob:jailplayer', time)| Parameter | Type | Required | Description |
|---|---|---|---|
time |
number | Yes | Sentence duration in minutes |
Releases the local player from prison.
TriggerEvent('ak47_policejob:unjailplayer')Assigns community service tasks to the local player.
TriggerEvent('ak47_policejob:comsplayer', taskAmount)| Parameter | Type | Required | Description |
|---|---|---|---|
taskAmount |
number | Yes | Number of cleaning tasks to complete |
Releases the local player from community service.
TriggerEvent('ak47_policejob:uncomplayer')Opens the department outfit management UI.
TriggerEvent('ak47_policejob:openmanageoutfit')Opens the department wardrobe locker UI.
TriggerEvent('ak47_policejob:openwardrobe')Sentences a player to prison. Requires police job or admin permissions.
TriggerServerEvent('ak47_policejob:jailplayer', targetServerId, time, reason)| Parameter | Type | Required | Description |
|---|---|---|---|
targetServerId |
number | Yes | Target player server ID |
time |
number | Yes | Sentence duration in minutes |
reason |
string | No | Reason for imprisonment |
Releases a player from prison. Requires police job or admin permissions.
TriggerServerEvent('ak47_policejob:unjailplayer', targetServerId)| Parameter | Type | Required | Description |
|---|---|---|---|
targetServerId |
number | Yes | Target player server ID |
Sentences a player to community service. Requires police job or admin permissions.
TriggerServerEvent('ak47_policejob:comsplayer', targetServerId, taskAmount, reason)| Parameter | Type | Required | Description |
|---|---|---|---|
targetServerId |
number | Yes | Target player server ID |
taskAmount |
number | Yes | Number of service tasks |
reason |
string | No | Reason for sentence |
Releases a player from community service. Requires police job or admin permissions.
TriggerServerEvent('ak47_policejob:uncomplayer', targetServerId)| Parameter | Type | Required | Description |
|---|---|---|---|
targetServerId |
number | Yes | Target player server ID |