mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-28 23:01:26 +00:00
es_extended: add missing locales - tpm
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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'] = ',',
|
||||
|
||||
@@ -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"] = ",",
|
||||
|
||||
Reference in New Issue
Block a user