Browse docs
Death
Action hooks for the death and revive system.
Actions
| Action | Side | Description |
|---|---|---|
death:start | client | The player has died and the deathscreen opened. |
death:end | client | The player was revived or respawned and the deathscreen closed. |
Context
Both actions pass an empty context table {}.
Example
client.lua
exports["sky_ambulancejob"]:onAction("death:start", function()
exports["your_hud"]:hide()
end)
exports["sky_ambulancejob"]:onAction("death:end", function()
exports["your_hud"]:show()
end)
Support
Need help? Our support team is always ready to assist
Join Discord