mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-31 18:28:52 +00:00
Proper math namespace
This commit is contained in:
+3
-2
@@ -161,8 +161,8 @@ function StartDeathTimer()
|
||||
end)
|
||||
end
|
||||
|
||||
local earlySpawnTimer = ESX.Round(Config.EarlyRespawnTimer / 1000)
|
||||
local bleedoutTimer = ESX.Round(Config.BleedoutTimer / 1000)
|
||||
local earlySpawnTimer = ESX.Math.Round(Config.EarlyRespawnTimer / 1000)
|
||||
local bleedoutTimer = ESX.Math.Round(Config.BleedoutTimer / 1000)
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
-- early respawn timer
|
||||
@@ -245,6 +245,7 @@ function RemoveItemsAfterRPDeath()
|
||||
|
||||
Citizen.CreateThread(function()
|
||||
DoScreenFadeOut(800)
|
||||
|
||||
while not IsScreenFadedOut() do
|
||||
Citizen.Wait(10)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user