Exports & Events
EXPORTS
How to check if a player is dead
exports.ars_ambulancejob:isDead() -- returns true if deadLocalPlayer.state.dead -- returns true if deadlocal data = lib.callback.await('ars_ambulancejob:getData', false, targetServerId) local isDead = data.status.isDead
Usage example
RegisterCommand("test", function(source, args, rawCommand)
local isDead = LocalPlayer.state.dead
if isDead then
print("player is dead")
else
print("alive")
end
end)How to open distress call dialog
exports.ars_ambulancejob:createDistressCall()Usage example
How to open distress calls menu
Usage example
EVENTS
How to use heal event (client)
Usage example
Last updated