mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-04 16:23:21 +00:00
Latest ESX code
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ AddEventHandler('esx:onPlayerDeath', function()
|
||||
IsDead = true
|
||||
end)
|
||||
|
||||
AddEventHandler('playerSpawned', function(spawn)
|
||||
AddEventHandler('esx:onPlayerSpawn', function(spawn)
|
||||
if IsDead then
|
||||
TriggerEvent('esx_basicneeds:resetStatus')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user