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
+2 -2
View File
@@ -58,7 +58,7 @@ Locales['br'] = {
-- Item
['used_medikit'] = 'você usou 1x Seringa',
['used_bandage'] = 'você usou 1x Vendagem',
['not_enough_medikit'] = 'Você não tem ~b~Seringa~w~.',
['not_enough_bandage'] = 'Você não tem ~b~Vendagem~w~.',
['not_enough_medikit'] = 'Você não tem ~b~Seringa~s~.',
['not_enough_bandage'] = 'Você não tem ~b~Vendagem~s~.',
['healed'] = 'Você foi tratado.',
}
+2 -2
View File
@@ -58,7 +58,7 @@ Locales['fi'] = {
-- Item
['used_medikit'] = 'sinä käytit ensiapupakkauksen',
['used_bandage'] = 'sinä käytit sideharsoja',
['not_enough_medikit'] = 'ei tarpeeksi ~b~ensiapupakkauksia~w~.',
['not_enough_bandage'] = 'ei tarpeeksi ~b~sideharsoja~w~.',
['not_enough_medikit'] = 'ei tarpeeksi ~b~ensiapupakkauksia~s~.',
['not_enough_bandage'] = 'ei tarpeeksi ~b~sideharsoja~s~.',
['healed'] = 'sinua parannettiin',
}
+2 -2
View File
@@ -58,7 +58,7 @@ Locales['fr'] = {
-- Item
['used_medikit'] = 'vous avez utilisé 1x kit de soin',
['used_bandage'] = 'vous avez utilisé 1x bandage',
['not_enough_medikit'] = 'vous n\'avez pas de ~b~kit de soin~w~.',
['not_enough_bandage'] = 'vous n\'avez pas de ~b~bandage~w~.',
['not_enough_medikit'] = 'vous n\'avez pas de ~b~kit de soin~s~.',
['not_enough_bandage'] = 'vous n\'avez pas de ~b~bandage~s~.',
['healed'] = 'vous avez été soigné.',
}
+2 -2
View File
@@ -58,7 +58,7 @@ Locales['pl'] = {
-- Item
['used_medikit'] = 'użyłeś 1x Apteczki',
['used_bandage'] = 'użyłeś 1x Bandaża',
['not_enough_medikit'] = 'nie posiadasz ~b~apteczki~w~.',
['not_enough_bandage'] = 'nie posiadasz ~b~bandaża~w~.',
['not_enough_medikit'] = 'nie posiadasz ~b~apteczki~s~.',
['not_enough_bandage'] = 'nie posiadasz ~b~bandaża~s~.',
['healed'] = 'zostałeś potraktowany',
}