Skip to content

Ambulance and death

All entries are in editable/framework.lua. Common ambulance scripts are detected (list); a native revive always runs after staff Revive.

EntryReceivesReturns
revivesrctrue if your script revived the player, false if not
healsrctrue when injuries were cleared
isDeadsrc, frameworkDeadtrue / false. Called often: no database queries.
editable/framework.lua
EditableServer.revive = {
custom = true,
fn = function(src)
TriggerClientEvent('my_ambulance:client:revive', src)
return true
end,
}