Interactions
ALL INTERACTION EVENTS IS GOING THROUGH SERVER EVENTS, THEY ARE SECURED ON SERVER SIDE AND THIS FILE IS OPEN SOURCE!
Hard Cuff
Use following event to toggle Hardcuffs on Closest Player
TriggerEvent('p_policejob/hardCuff')Soft Cuff
Use following event to toggle Softcuffs on Closest Player
TriggerEvent('p_policejob/softCuff')Tie Player
Use following event to toggle Cable Tie on Closest Player
TriggerEvent('p_policejob/tiePlayer')Search Player
Use following event to Search Closest Player
Escort Player
Use following event to toggle Escort on Closest Player
isInCuffProcess
With following export you can check if player is currently in cuff process.
Return:
state:
boolean
draggingPlayer
Get the player you are currently dragging or other player dragging.
playerId:
numberExisting player server id
Return:
state:
booleanornil
draggedBy
Get the player which currently dragging you or other player.
playerId:
numberExisting player server id
Return:
state:
booleanornil
carryingPlayer
Get the player you are currently carrying or other player carrying.
playerId:
numberExisting player server id
Return:
state:
booleanornil
carriedBy
Get the player which currently carry you or other player.
playerId:
numberExisting player server id
Return:
state:
booleanornil
isCuffed
Get the player cuff state.
playerId:
numberExisting player server id
Return:
state:
booleanornil
cuffType
Get the player cuff type.
playerId:
numberExisting player server id
Return:
type:
"cuffs" / "rope"or"none"
hasHeadBag
Check if player has headbag on head.
playerId:
numberExisting player server id
Return:
state:
booleanornil
Last updated