Exports and Events
Here you will find all the useful exports for this asset, please read each step and example carefully to better understand how it works, we do not recommend using these if you are not an experienced developer.
REMEMBER ABOUT CLIENT SIDE AND SERVER SIDE IN CHOOSING EXPORT!
playerOnBed
With following statebag you can check if some player is on bed.
playerId
number
Example of Usage
Damages
With this statebag you can get player damages.
playerId
number
Example of Usage
ToggleMedicBag
You can use following export to toggle medic bag prop in player hand.
state
boolean
Example of Usage
isDead
With this export you can check if player is dead.
playerId
number
Example of Usage
RevivePlayer
With this event you can revive player.
Last updated