Latest ESX code

This commit is contained in:
ElPumpo
2020-04-14 16:48:30 +02:00
parent 7a4968a6e0
commit 94031d40a0
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -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