mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-09-01 18:58:54 +00:00
Fixed remove blips on change job, fixed blip not properly registering
This commit is contained in:
+1
-2
@@ -30,6 +30,7 @@ end)
|
||||
|
||||
AddEventHandler('playerSpawned', function()
|
||||
isDead = false
|
||||
TriggerServerEvent('esx_ambulancejob:onPlayerSpawn')
|
||||
|
||||
if firstSpawn then
|
||||
exports.spawnmanager:setAutoSpawn(false) -- disable respawn
|
||||
@@ -45,8 +46,6 @@ AddEventHandler('playerSpawned', function()
|
||||
RemoveItemsAfterRPDeath()
|
||||
end
|
||||
end)
|
||||
else
|
||||
TriggerServerEvent('esx_ambulancejob:onPlayerSpawn')
|
||||
end
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user