mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 04:01:22 +00:00
fix(esx_inventory): fix loadout append
This commit is contained in:
@@ -76,7 +76,7 @@ local function appendLoadout(elements)
|
||||
local weapon = ESX.PlayerData.loadout[i]
|
||||
local weaponHash = joaat(weapon.name)
|
||||
local ammo = GetAmmoInPedWeapon(playerPed, weaponHash)
|
||||
local label = weapon.ammo and ("%s - %s %s"):format(weapon.label, ammo, weapon.ammo.label) or weapon.label
|
||||
local label = weapon.ammo and ("%s - %s %s"):format(weapon.label, weapon.ammo, TranslateCap("ammo_rounds")) or weapon.label
|
||||
elements[#elements + 1] = {
|
||||
type = "item_weapon",
|
||||
label = label,
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Zmáčkni E pro sebrání!",
|
||||
["keymap_showinventory"] = "Otevřít inventář",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Drücke [E] zum aufheben",
|
||||
["keymap_showinventory"] = "Inventar Anzeigen",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Πατήστε E για να σηκώσετε",
|
||||
["keymap_showinventory"] = "Εμφάνιση Αποθήκης",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Press E to Pickup",
|
||||
["keymap_showinventory"] = "Show Inventory",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Pulsa E para recoger",
|
||||
["keymap_showinventory"] = "Mostrar inventario",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Paina E kerätäksesi",
|
||||
["keymap_showinventory"] = "Avaa reppu",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Appuyez sur E pour ramasser",
|
||||
["keymap_showinventory"] = "Afficher l'inventaire",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "לחץ E כדי לאסוף",
|
||||
["keymap_showinventory"] = "הצג מלאי",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "E hogy felvedd",
|
||||
["keymap_showinventory"] = "Leltár mutatása",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Tekan E untuk Mengambil",
|
||||
["keymap_showinventory"] = "Buka Inventaris",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Premi E per raccogliere",
|
||||
["keymap_showinventory"] = "Apri inventario",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Druk op E om op te pakken",
|
||||
["keymap_showinventory"] = "Laat inventaris zien",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "naciśnij E aby podnieść",
|
||||
["keymap_showinventory"] = "pokaż ekwipunek",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Pritisni E da poberes",
|
||||
["keymap_showinventory"] = "Pokazi Shrambo",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Pritisni E da pokupiš",
|
||||
["keymap_showinventory"] = "Otvaranje inventara",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Tryck E för att plocka upp",
|
||||
["keymap_showinventory"] = "Öppna inventory",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "Almak İçin E'ye Basın",
|
||||
["keymap_showinventory"] = "Envanteri Göster",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ return {
|
||||
["threw_pickup_prompt"] = "键下 [E] 拾取",
|
||||
["keymap_showinventory"] = "显示物品栏",
|
||||
["locale_currency"] = "$%s",
|
||||
["ammo_rounds"] = "Rounds"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user