diff --git a/client/main.lua b/client/main.lua index d74657a7..f4f4e679 100644 --- a/client/main.lua +++ b/client/main.lua @@ -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 diff --git a/locales/br.lua b/locales/br.lua index cc22645d..f505145a 100644 --- a/locales/br.lua +++ b/locales/br.lua @@ -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.', } diff --git a/locales/fi.lua b/locales/fi.lua index 841e6a89..c98a53af 100644 --- a/locales/fi.lua +++ b/locales/fi.lua @@ -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', } diff --git a/locales/fr.lua b/locales/fr.lua index cfc249db..c5819c6d 100644 --- a/locales/fr.lua +++ b/locales/fr.lua @@ -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é.', } diff --git a/locales/pl.lua b/locales/pl.lua index 6d523288..cbe9d438 100644 --- a/locales/pl.lua +++ b/locales/pl.lua @@ -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', }