Client Exports
Here you will find the list of usable exports for Police Job, you can use them if you have basic or advanced programming knowledge, we do not recommend using these if you do not have such knowledge.
REMEMBER ABOUT CLIENT SIDE AND SERVER SIDE IN CHOOSING EXPORT!
playerOnBed
playerId:
number
Existing player server id
Return:
state:
boolean
Damages
With this statebag you can get player damages.
playerId:
number
Existing player server id
Return:
damages:
table
Player Dead State
Use following statebag to check if player is dead
playerId:
number
Existing player server id
Return:
stage:
number [0 = not dead, 1 = in last stand, 2 = dead]
Check Death Stage
playerId:
number
Existing player server id
Return:
stage:
number [0 = not dead, 1 = in last stand, 2 = dead]
CreateOutfitMenu
Use following export to open outfit creator menu
You can also use a command
RemoveOutfitMenu
Use following export to open outfit remove menu
You can also use a command
ToggleMedicBag
You can use following export to toggle medic bag prop in player hand.
state:
boolean
true
/false
RevivePlayer
Use following event to revive player
Toggle Damages UI
Use following export to show player damages ui
state:
boolean
true
/false
Last updated