Proper math namespace

This commit is contained in:
ElPumpo
2018-12-23 15:08:05 +01:00
parent b15e2d95b1
commit ee6b8a4c85
5 changed files with 11 additions and 10 deletions
+3 -2
View File
@@ -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