State Bags

isDead

Player(id).state.isDead

Whether the player is dead

isInLastStand

Player(id).state.isInLastStand

Whether the player is in last stand

deathState

Player(id).state.deathState

Gets the players current death state:

  • ALIVE = 0

  • LAST_STAND = 1

  • DEAD = 2

dragTarget

Player(id).state.dragTarget

Target of dragging

isDragged

Player(id).state.isDragged

Whether the player is being dragged

isInBodyBag

Player(id).state.isInBodyBag

Whether the player is in a body bag

isEMSVehicle

Entity(vehicle).state.isEMSVehicle

Whether the vehicle is a EMS vehicle (spawned by the built in garage system)

Last updated