es_extended: add missing locales - tpm

This commit is contained in:
Csoki
2022-11-27 21:29:20 +01:00
parent 9a196c3012
commit a6a411a93a
3 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -611,12 +611,12 @@ AddEventHandler("esx:tpm", function()
-- If we can't find the coords, set the coords to the old ones.
-- We don't unpack them before since they aren't in a loop and only called once.
SetPedCoordsKeepVehicle(ped, oldCoords['x'], oldCoords['y'], oldCoords['z'] - 1.0)
ESX.ShowNotification('Successfully Teleported', true, false, 140)
ESX.ShowNotification(TranslateCap('tpm_success'), true, false, 140)
end
-- If Z coord was found, set coords in found coords.
SetPedCoordsKeepVehicle(ped, x, y, groundZ)
ESX.ShowNotification('Successfully Teleported', true, false, 140)
ESX.ShowNotification(TranslateCap('tpm_success'), true, false, 140)
end
end)
end)
+1
View File
@@ -108,6 +108,7 @@ Locales['en'] = {
['command_giveammo_noweapon_found'] = '%s does not have that weapon',
['command_giveammo_weapon'] = 'Weapon name',
['command_giveammo_ammo'] = 'Ammo Quantity',
['tpm_success'] = 'Successfully Teleported',
-- Locale settings
['locale_digit_grouping_symbol'] = ',',
+4 -3
View File
@@ -105,9 +105,10 @@ Locales["hu"] = {
["commanderror_invalidcommand"] = "Érvénytelen parancs - /%s",
["commanderror_invalidplayerid"] = "Megadott játékos nem online.",
["commandgeneric_playerid"] = "Játékos Szerver Id",
['command_giveammo_noweapon_found'] = '%s does not have that weapon',
['command_giveammo_weapon'] = 'Weapon name',
['command_giveammo_ammo'] = 'Ammo Quantity',
['command_giveammo_noweapon_found'] = 'Nincs ilyen fegyvered: %s',
['command_giveammo_weapon'] = 'Fegyver név',
['command_giveammo_ammo'] = 'Lőszer mennyiség',
['tpm_success'] = 'Sikeres teleportálás',
-- Locale settings
["locale_digit_grouping_symbol"] = ",",