| DEATH SYSTEM (PVP/ACADEMY) | |
|---|---|
| Code is accessible | No |
| Subscription-based | No |
| Lines (approximately) | 130 |
| Requirements | Ox_lib (optional) |
| Support | Yes |
Buy on tebex: https://justdev.tebex.io/package/5538958
Preview: NETSCAPE DEATH SYSTEM
EVENTS:
------ Client Side ------
AddEventHandler('terror:client:nodeath', function(bool)
end)
AddEventHandler('terror:client:die', function()
-- add some when player die
end)
------ Server Side ------
AddEventHandler('terror:client:nodeath', function(src, bool)
-- player source
-- bool
-- integrate in your framework, ex:
local xPlayer = ESX.GetPlayerFromId(src)
xPlayer.set('nodeath', bool)
end)
AddEventHandler('terror:server:die', function(src)
-- src = source of died player
-- add some when player die
end)
