Browse docs
Client Events
Client Events
These events can be triggered from other resources to interact with the police job on the client side. They mirror the client exports for resources that prefer events over export calls.
The local player's job must already be registered through the server-side
registerInteractionJobs export and have the required capability. Police jobs from Config.Jobs
are registered automatically. Triggering one of these events does not bypass the shared whitelist,
duty policy, item checks, or server validation.
| Event | Description |
|---|---|
sky_policejob:client:cuffPlayer | Toggle the cuff state for the nearest player as an officer. |
sky_policejob:client:uncuffPlayer | Remove cuffs from the nearest player as an officer. |
sky_policejob:client:useCuffPlayer | Compatibility alias for the cuff action; uses the same whitelist. |
sky_policejob:client:useUncuffPlayer | Compatibility alias for the uncuff action; uses the same whitelist. |
sky_policejob:client:useHeadBag | Use a head bag on the nearest player through the shared whitelist. |
sky_policejob:client:escortToggle | Start or stop escorting the nearest player. |
sky_policejob:client:escortPutInVehicle | Put the escorted player into the closest vehicle. |
sky_policejob:client:escortTakeOutVehicle | Take the escorted player out of a vehicle. |
sky_policejob:client:cuffPlayer
Toggles the cuff state for the nearest player. Accepts an optional cuff type.
TriggerEvent("sky_policejob:client:cuffPlayer") -- cuffs
TriggerEvent("sky_policejob:client:cuffPlayer", "zipties")
sky_policejob:client:uncuffPlayer
Removes cuffs or zipties from the nearest player.
TriggerEvent("sky_policejob:client:uncuffPlayer")
sky_policejob:client:useCuffPlayer / sky_policejob:client:useUncuffPlayer
Compatibility aliases for the regular cuff and uncuff events. They use the same registered-job access policy and server checks. Failures show a notification to the player.
TriggerEvent("sky_policejob:client:useCuffPlayer", "cuffs") -- or "zipties"
TriggerEvent("sky_policejob:client:useUncuffPlayer")
sky_policejob:client:useHeadBag
Uses a head bag on the nearest player through the shared registered-job access policy.
TriggerEvent("sky_policejob:client:useHeadBag")
sky_policejob:client:escortToggle
Starts or stops escorting the nearest player.
TriggerEvent("sky_policejob:client:escortToggle")
sky_policejob:client:escortPutInVehicle
Puts the currently escorted player into the closest vehicle.
TriggerEvent("sky_policejob:client:escortPutInVehicle")
sky_policejob:client:escortTakeOutVehicle
Takes the escorted player out of a vehicle.
TriggerEvent("sky_policejob:client:escortTakeOutVehicle")
Support
Need help? Our support team is always ready to assist
Join Discord