diff --git a/resources/[managers]/spawnmanager/spawnmanager.lua b/resources/[managers]/spawnmanager/spawnmanager.lua index dc6195c..357fbc1 100644 --- a/resources/[managers]/spawnmanager/spawnmanager.lua +++ b/resources/[managers]/spawnmanager/spawnmanager.lua @@ -342,7 +342,7 @@ Citizen.CreateThread(function() -- check if we want to autospawn if autoSpawnEnabled then if NetworkIsPlayerActive(PlayerId()) then - if (diedAt and (GetTimeDifference(GetGameTimer(), diedAt) > 2000)) or respawnForced then + if (diedAt and (math.abs(GetTimeDifference(GetGameTimer(), diedAt)) > 2000)) or respawnForced then if autoSpawnCallback then autoSpawnCallback() else