Server

revive

exports.tk_ambulancejob:revive(targetId, healInjuries)
  • targetId: number

  • healInjuries?: boolean should target injuries be healed (true/false)

getJobPlayers

exports.tk_ambulancejob:getJobPlayers()
  • return:

    • jobPlayers: table<number> ids of the online EMS players

setDeathState

exports.tk_ambulancejob:setDeathState(playerId, deathState)
  • playerId: number

  • deathState: number

    • ALIVE = 0

    • LAST_STAND = 1

    • DEAD = 2

Last updated