diff --git a/[core]/es_extended/client/functions.lua b/[core]/es_extended/client/functions.lua
index 32f8f5d9..6d507e63 100644
--- a/[core]/es_extended/client/functions.lua
+++ b/[core]/es_extended/client/functions.lua
@@ -1270,275 +1270,12 @@ function ESX.GetAccount(account)
return nil
end
----@return nil
function ESX.ShowInventory()
if not Config.EnableDefaultInventory then
return
end
- local playerPed = ESX.PlayerData.ped
- local elements = {
- { unselectable = true, icon = "fas fa-box" },
- }
- local currentWeight = 0
-
- for i = 1, #ESX.PlayerData.accounts do
- if ESX.PlayerData.accounts[i].money > 0 then
- local formattedMoney = TranslateCap("locale_currency", ESX.Math.GroupDigits(ESX.PlayerData.accounts[i].money))
- local canDrop = ESX.PlayerData.accounts[i].name ~= "bank"
-
- elements[#elements + 1] = {
- icon = "fas fa-money-bill-wave",
- title = ('%s: %s'):format(ESX.PlayerData.accounts[i].label, formattedMoney),
- count = ESX.PlayerData.accounts[i].money,
- type = "item_account",
- value = ESX.PlayerData.accounts[i].name,
- usable = false,
- rare = false,
- canRemove = canDrop,
- }
- end
- end
-
- for i = 1, #ESX.PlayerData.inventory do
- local v = ESX.PlayerData.inventory[i]
- if v.count > 0 then
- currentWeight = currentWeight + (v.weight * v.count)
-
- elements[#elements + 1] = {
- icon = "fas fa-box",
- title = ("%s x%s"):format(v.label, v.count),
- count = v.count,
- type = "item_standard",
- value = v.name,
- usable = v.usable,
- rare = v.rare,
- canRemove = v.canRemove,
- }
- end
- end
-
- elements[1].title = TranslateCap("inventory", currentWeight, Config.MaxWeight)
-
- for i = 1, #Config.Weapons do
- local v = Config.Weapons[i]
- local weaponHash = joaat(v.name)
-
- if HasPedGotWeapon(playerPed, weaponHash, false) then
- local ammo = GetAmmoInPedWeapon(playerPed, weaponHash)
-
- elements[#elements + 1] = {
- icon = "fas fa-gun",
- title = v.ammo and ("%s - %s %s"):format(v.label, ammo, v.ammo.label) or v.label,
- count = 1,
- type = "item_weapon",
- value = v.name,
- usable = false,
- rare = false,
- ammo = ammo,
- canGiveAmmo = (v.ammo ~= nil),
- canRemove = true,
- }
- end
- end
-
- ESX.CloseContext()
-
- ESX.OpenContext("right", elements, function(_, element)
- local player, distance = ESX.Game.GetClosestPlayer()
-
- local elements2 = {}
-
- if element.usable then
- elements2[#elements2 + 1] = {
- icon = "fas fa-utensils",
- title = TranslateCap("use"),
- action = "use",
- type = element.type,
- value = element.value,
- }
- end
-
- if element.canRemove then
- if player ~= -1 and distance <= 3.0 then
- elements2[#elements2 + 1] = {
- icon = "fas fa-hands",
- title = TranslateCap("give"),
- action = "give",
- type = element.type,
- value = element.value,
- }
- end
-
- elements2[#elements2 + 1] = {
- icon = "fas fa-trash",
- title = TranslateCap("remove"),
- action = "remove",
- type = element.type,
- value = element.value,
- }
- end
-
- if element.type == "item_weapon" and element.canGiveAmmo and element.ammo > 0 and player ~= -1 and distance <= 3.0 then
- elements2[#elements2 + 1] = {
- icon = "fas fa-gun",
- title = TranslateCap("giveammo"),
- action = "give_ammo",
- type = element.type,
- value = element.value,
- }
- end
-
- elements2[#elements2 + 1] = {
- icon = "fas fa-arrow-left",
- title = TranslateCap("return"),
- action = "return",
- }
-
- ESX.OpenContext("right", elements2, function(_, element2)
- local item, itemType = element2.value, element2.type
-
- if element2.action == "give" then
- local playersNearby = ESX.Game.GetPlayersInArea(GetEntityCoords(playerPed), 3.0)
-
- if #playersNearby > 0 then
- local players = {}
- local elements3 = {
- { unselectable = true, icon = "fas fa-users", title = "Nearby Players" },
- }
-
- for currentNearbyPlayerIndex = 1, #playersNearby do
- players[GetPlayerServerId(playersNearby[currentNearbyPlayerIndex])] = true
- end
-
- ESX.TriggerServerCallback("esx:getPlayerNames", function(returnedPlayers)
- for playerId, playerName in pairs(returnedPlayers) do
- elements3[#elements3 + 1] = {
- icon = "fas fa-user",
- title = playerName,
- playerId = playerId,
- }
- end
-
- ESX.OpenContext("right", elements3, function(_, element3)
- local selectedPlayer, selectedPlayerId = GetPlayerFromServerId(element3.playerId), element3.playerId
- playersNearby = ESX.Game.GetPlayersInArea(GetEntityCoords(playerPed), 3.0)
- playersNearby = ESX.Table.Set(playersNearby)
-
- if playersNearby[selectedPlayer] then
- local selectedPlayerPed = GetPlayerPed(selectedPlayer)
-
- if IsPedOnFoot(selectedPlayerPed) and not IsPedFalling(selectedPlayerPed) then
- if itemType == "item_weapon" then
- TriggerServerEvent("esx:giveInventoryItem", selectedPlayerId, itemType, item, nil)
- ESX.CloseContext()
- else
- local elementsG = {
- { unselectable = true, icon = "fas fa-trash", title = element.title },
- { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000 },
- { icon = "fas fa-check-double", title = "Confirm", val = "confirm" },
- }
-
- ESX.OpenContext("right", elementsG, function(menuG, _)
- local quantity = tonumber(menuG.eles[2].inputValue)
-
- if quantity and quantity > 0 and element.count >= quantity then
- TriggerServerEvent("esx:giveInventoryItem", selectedPlayerId, itemType, item, quantity)
- ESX.CloseContext()
- else
- ESX.ShowNotification(TranslateCap("amount_invalid"))
- end
- end)
- end
- else
- ESX.ShowNotification(TranslateCap("in_vehicle"))
- end
- else
- ESX.ShowNotification(TranslateCap("players_nearby"))
- ESX.CloseContext()
- end
- end)
- end, players)
- end
- elseif element2.action == "remove" then
- if IsPedOnFoot(playerPed) and not IsPedFalling(playerPed) then
- local dict, anim = "weapons@first_person@aim_rng@generic@projectile@sticky_bomb@", "plant_floor"
- ESX.Streaming.RequestAnimDict(dict)
-
- if itemType == "item_weapon" then
- ESX.CloseContext()
- TaskPlayAnim(playerPed, dict, anim, 8.0, 1.0, 1000, 16, 0.0, false, false, false)
- RemoveAnimDict(dict)
- Wait(1000)
- TriggerServerEvent("esx:removeInventoryItem", itemType, item)
- else
- local elementsR = {
- { unselectable = true, icon = "fas fa-trash", title = element.title },
- { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to remove..", inputMin = 1, inputMax = 1000 },
- { icon = "fas fa-check-double", title = "Confirm", val = "confirm" },
- }
-
- ESX.OpenContext("right", elementsR, function(menuR, _)
- local quantity = tonumber(menuR.eles[2].inputValue)
-
- if quantity and quantity > 0 and element.count >= quantity then
- ESX.CloseContext()
- TaskPlayAnim(playerPed, dict, anim, 8.0, 1.0, 1000, 16, 0.0, false, false, false)
- RemoveAnimDict(dict)
- Wait(1000)
- TriggerServerEvent("esx:removeInventoryItem", itemType, item, quantity)
- else
- ESX.ShowNotification(TranslateCap("amount_invalid"))
- end
- end)
- end
- end
- elseif element2.action == "use" then
- ESX.CloseContext()
- TriggerServerEvent("esx:useItem", item)
- elseif element2.action == "return" then
- ESX.CloseContext()
- ESX.ShowInventory()
- elseif element2.action == "give_ammo" then
- local closestPlayer, closestDistance = ESX.Game.GetClosestPlayer()
- local closestPed = GetPlayerPed(closestPlayer)
- local pedAmmo = GetAmmoInPedWeapon(playerPed, joaat(item))
-
- if IsPedOnFoot(closestPed) and not IsPedFalling(closestPed) then
- if closestPlayer ~= -1 and closestDistance < 3.0 then
- if pedAmmo > 0 then
- local elementsGA = {
- { unselectable = true, icon = "fas fa-trash", title = element.title },
- { icon = "fas fa-tally", title = "Amount.", input = true, inputType = "number", inputPlaceholder = "Amount to give..", inputMin = 1, inputMax = 1000 },
- { icon = "fas fa-check-double", title = "Confirm", val = "confirm" },
- }
-
- ESX.OpenContext("right", elementsGA, function(menuGA, _)
- local quantity = tonumber(menuGA.eles[2].inputValue)
-
- if quantity and quantity > 0 then
- if pedAmmo >= quantity then
- TriggerServerEvent("esx:giveInventoryItem", GetPlayerServerId(closestPlayer), "item_ammo", item, quantity)
- ESX.CloseContext()
- else
- ESX.ShowNotification(TranslateCap("noammo"))
- end
- else
- ESX.ShowNotification(TranslateCap("amount_invalid"))
- end
- end)
- else
- ESX.ShowNotification(TranslateCap("noammo"))
- end
- else
- ESX.ShowNotification(TranslateCap("players_nearby"))
- end
- else
- ESX.ShowNotification(TranslateCap("in_vehicle"))
- end
- end
- end)
- end)
+ exports.esx_inventory:ShowInventory()
end
RegisterNetEvent('esx:showNotification', ESX.ShowNotification)
diff --git a/[core]/es_extended/client/modules/events.lua b/[core]/es_extended/client/modules/events.lua
index 764a897a..12557b0e 100644
--- a/[core]/es_extended/client/modules/events.lua
+++ b/[core]/es_extended/client/modules/events.lua
@@ -348,14 +348,6 @@ function StartServerSyncLoops()
end)
end
-if not Config.CustomInventory and Config.EnableDefaultInventory then
- ESX.RegisterInput("showinv", TranslateCap("keymap_showinventory"), "keyboard", "F2", function()
- if not ESX.PlayerData.dead then
- ESX.ShowInventory()
- end
- end)
-end
-
if not Config.CustomInventory then
CreateThread(function()
while true do
diff --git a/[core]/es_extended/locales/cs.lua b/[core]/es_extended/locales/cs.lua
index 435cd875..ca567e92 100644
--- a/[core]/es_extended/locales/cs.lua
+++ b/[core]/es_extended/locales/cs.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventář ( Váha %s / %s )",
- ["use"] = "Použít",
- ["give"] = "Darovat",
- ["remove"] = "Odhodit",
- ["return"] = "Vrátit",
- ["give_to"] = "Darováno",
- ["amount"] = "Počet",
- ["giveammo"] = "Podat náboje",
- ["amountammo"] = "Počet nábojů",
- ["noammo"] = "Nedostatek!",
- ["gave_item"] = "Daroval %sx %s pro %s",
- ["received_item"] = "Získáno %sx %s od %s",
- ["gave_weapon"] = "Předání %s pro %s",
- ["gave_weapon_ammo"] = "Darování ~o~%sx %s do %s pro %s",
- ["gave_weapon_withammo"] = "Darování %s s ~o~%sx %s pro %s",
- ["gave_weapon_hasalready"] = "%s již vlastní %s",
- ["gave_weapon_noweapon"] = "%s nemá tuto zbraň",
- ["received_weapon"] = "Obdrženo %s od %s",
- ["received_weapon_ammo"] = "Obdrženo ~o~%sx %s pro zbraň %s od %s",
- ["received_weapon_withammo"] = "Obdrženo %s s ~o~%sx %s od %s",
- ["received_weapon_hasalready"] = "%s se snažil darovat %s, ale již tuto zbraň máš",
- ["received_weapon_noweapon"] = "%s se snažil ti dát náboje %s, ale nemáš potřebnou zbrań",
- ["gave_account_money"] = "Darováno $%s (%s) pro %s",
- ["received_account_money"] = "Získáno $%s (%s) od %s",
- ["amount_invalid"] = "Špatné množství",
- ["players_nearby"] = "Žádný hráč není poblíž",
- ["ex_inv_lim"] = "Nelze sebrat,protože máš plné kapsy %s",
- ["imp_invalid_quantity"] = "Neplatné množství",
- ["imp_invalid_amount"] = "Nelze provést, neplatné množství",
- ["threw_standard"] = "Zahozeno %sx %s",
- ["threw_account"] = "Zahozeno $%s %s",
- ["threw_weapon"] = "Zahozeno %s",
- ["threw_weapon_ammo"] = "Zahozeno %s s ~o~%sx %s",
- ["threw_weapon_already"] = "Již vlastníš tuto zbraň",
- ["threw_cannot_pickup"] = "Kapsy máš plné, nemůžeš sebrat!",
- ["threw_pickup_prompt"] = "Zmáčkni E pro sebrání!",
-
- -- Key mapping
- ["keymap_showinventory"] = "Otevřít inventář",
-
-- Salary related
["received_salary"] = "Obdržel jsi: $%s",
["received_help"] = "Obdržel jsi svůj podíl: $%s",
diff --git a/[core]/es_extended/locales/de.lua b/[core]/es_extended/locales/de.lua
index 3aac3dd2..185d5f85 100644
--- a/[core]/es_extended/locales/de.lua
+++ b/[core]/es_extended/locales/de.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventar ( Gewicht %s / %s )",
- ["use"] = "Benutzen",
- ["give"] = "Geben",
- ["remove"] = "Entsorgen",
- ["return"] = "Zurück",
- ["give_to"] = "Geben an",
- ["amount"] = "Anzahl",
- ["giveammo"] = "Munition geben",
- ["amountammo"] = "Munitions Anzahl",
- ["noammo"] = "Nicht Genug!",
- ["gave_item"] = "Du gibst %sx %s an %s",
- ["received_item"] = "Du bekommst %sx %s von %s",
- ["gave_weapon"] = "Du gibst %s an %s",
- ["gave_weapon_ammo"] = "Du gibst ~o~%sx %s für %s an %s",
- ["gave_weapon_withammo"] = "Du gibst %s mit ~o~%sx %s an %s",
- ["gave_weapon_hasalready"] = "%s hat bereits %s",
- ["gave_weapon_noweapon"] = "%s hat diese Waffe nicht",
- ["received_weapon"] = "Du bekommst %s von %s",
- ["received_weapon_ammo"] = "Du bekommst ~o~%sx %s für deine %s von %s",
- ["received_weapon_withammo"] = "Du bekommst %s mit ~o~%sx %s von %s",
- ["received_weapon_hasalready"] = "%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!",
- ["received_weapon_noweapon"] = "%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe nicht!",
- ["gave_account_money"] = "Du gibst %s€ (%s) an %s",
- ["received_account_money"] = "Du bekommst %s€ (%s) von %s",
- ["amount_invalid"] = "Ungültige Anzahl",
- ["players_nearby"] = "Keine Personen in der Nähe!",
- ["ex_inv_lim"] = "Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.",
- ["imp_invalid_quantity"] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!",
- ["imp_invalid_amount"] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl",
- ["threw_standard"] = "Du entsorgst %sx %s",
- ["threw_account"] = "Du Entsorgst %s€ %s",
- ["threw_weapon"] = "Du entsorgst %s",
- ["threw_weapon_ammo"] = "Du entsorgst %s mit ~o~%sx %s",
- ["threw_weapon_already"] = "Du hast diese Waffe bereits!",
- ["threw_cannot_pickup"] = "Inventar ist voll! Du kannst dies nicht aufheben",
- ["threw_pickup_prompt"] = "Drücke [E] zum aufheben",
-
- -- Key mapping
- ["keymap_showinventory"] = "Inventar Anzeigen",
-
-- Salary related
["received_salary"] = "Dein Gehaltscheck ist angekommen!: %s€",
["received_help"] = "Deine Sozialhilfe ist angekommen: %s€",
diff --git a/[core]/es_extended/locales/el.lua b/[core]/es_extended/locales/el.lua
index 4fe64ddc..c24310e2 100644
--- a/[core]/es_extended/locales/el.lua
+++ b/[core]/es_extended/locales/el.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Αποθήκη ( Βάρος %s / %s )",
- ["use"] = "Χρήση",
- ["give"] = "Δώσε",
- ["remove"] = "Πέτα",
- ["return"] = "Επιστροφή",
- ["give_to"] = "Δώσε σε",
- ["amount"] = "Ποσότητα",
- ["giveammo"] = "Δώσε σφαίρες",
- ["amountammo"] = "Ποσότητα σφαιρών",
- ["noammo"] = "Δεν υπάρχουν αρκετές σφαίρες!",
- ["gave_item"] = "Δώσατε %sx %s στον/στην %s",
- ["received_item"] = "Λάβατε %sx %s από τον/την %s",
- ["gave_weapon"] = "Δίνετε %s στον/στην %s",
- ["gave_weapon_ammo"] = "Δίνετε ~o~%sx %s για %s στον/στην %s",
- ["gave_weapon_withammo"] = "Δίνετε %s με ~o~%sx %s στον/στην %s",
- ["gave_weapon_hasalready"] = "Ο/Η %s έχει ήδη ένα %s",
- ["gave_weapon_noweapon"] = "Ο/Η %s δεν έχει αυτό το όπλο",
- ["received_weapon"] = "Λάβατε %s από τον/την %s",
- ["received_weapon_ammo"] = "Λάβατε ~o~%sx %s για το %s από τον/την %s",
- ["received_weapon_withammo"] = "Λάβατε %s για ~o~%sx %s από τον/την %s",
- ["received_weapon_hasalready"] = "Ο/Η %s προσπάθησε να σας δώσει ένα %s, αλλά το έχετε ήδη",
- ["received_weapon_noweapon"] = "Ο/Η %s προσπάθησε να σας δώσει σφαίρες για το %s, αλλά δεν έχετε αυτό το όπλο",
- ["gave_account_money"] = "Δίνετε $%s (%s) στον/στην %s",
- ["received_account_money"] = "Λάβατε $%s (%s) από τον/την %s",
- ["amount_invalid"] = "Μη έγκυρη ποσότητα",
- ["players_nearby"] = "Δεν υπάρχουν κοντινοί παίκτες",
- ["ex_inv_lim"] = "Δεν είναι δυνατή η ενέργεια, υπέρβαση του μέγιστου βάρους των %s",
- ["imp_invalid_quantity"] = "Δεν είναι δυνατή η ενέργεια, η ποσότητα δεν είναι έγκυρη",
- ["imp_invalid_amount"] = "Δεν είναι δυνατή η ενέργεια, το ποσό δεν είναι έγκυρο",
- ["threw_standard"] = "Ρίχνοντας %sx %s",
- ["threw_account"] = "Ρίχνοντας $%s %s",
- ["threw_weapon"] = "Ρίχνοντας %s",
- ["threw_weapon_ammo"] = "Ρίχνοντας %s με ~o~%sx %s",
- ["threw_weapon_already"] = "Ήδη έχετε αυτό το όπλο",
- ["threw_cannot_pickup"] = "Η αποθήκη είναι γεμάτη, δεν μπορείτε να σηκώσετε!",
- ["threw_pickup_prompt"] = "Πατήστε E για να σηκώσετε",
-
- -- Key mapping
- ["keymap_showinventory"] = "Εμφάνιση Αποθήκης",
-
-- Salary related
["received_salary"] = "Έχετε λάβει μισθό: $%s",
["received_help"] = "Έχετε λάβει το βοήθημά σας: $%s",
diff --git a/[core]/es_extended/locales/en.lua b/[core]/es_extended/locales/en.lua
index b10966a9..4492a4ea 100644
--- a/[core]/es_extended/locales/en.lua
+++ b/[core]/es_extended/locales/en.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventory ( Weight %s / %s )",
- ["use"] = "Use",
- ["give"] = "Give",
- ["remove"] = "Throw",
- ["return"] = "Return",
- ["give_to"] = "Give to",
- ["amount"] = "Amount",
- ["giveammo"] = "Give ammo",
- ["amountammo"] = "Ammo Amount",
- ["noammo"] = "Not Enough!",
- ["gave_item"] = "Giving %sx %s to %s",
- ["received_item"] = "Received %sx %s from %s",
- ["gave_weapon"] = "Giving %s to %s",
- ["gave_weapon_ammo"] = "Giving ~o~%sx %s for %s to %s",
- ["gave_weapon_withammo"] = "Giving %s with ~o~%sx %s to %s",
- ["gave_weapon_hasalready"] = "%s already has a %s",
- ["gave_weapon_noweapon"] = "%s does not have that weapon",
- ["received_weapon"] = "Received %s from %s",
- ["received_weapon_ammo"] = "Received ~o~%sx %s for your %s from %s",
- ["received_weapon_withammo"] = "Received %s with ~o~%sx %s from %s",
- ["received_weapon_hasalready"] = "%s has attempted to give you a %s, but you already this weapon",
- ["received_weapon_noweapon"] = "%s has attempted to give you ammo for a %s, but you do not have this weapon",
- ["gave_account_money"] = "Giving $%s (%s) to %s",
- ["received_account_money"] = "Received $%s (%s) from %s",
- ["amount_invalid"] = "Invalid quantity",
- ["players_nearby"] = "No nearby Players",
- ["ex_inv_lim"] = "Cannot perfom action,exceeding max weight of %s",
- ["imp_invalid_quantity"] = "Cannot perfom action, the quantity is invalid",
- ["imp_invalid_amount"] = "Cannot perfom action, the amount is invalid",
- ["threw_standard"] = "Throwing %sx %s",
- ["threw_account"] = "Throwing $%s %s",
- ["threw_weapon"] = "Throwing %s",
- ["threw_weapon_ammo"] = "Throwing %s with ~o~%sx %s",
- ["threw_weapon_already"] = "You already have this weapon",
- ["threw_cannot_pickup"] = "Inventory is full, Cannot Pickup!",
- ["threw_pickup_prompt"] = "Press E to Pickup",
-
- -- Key mapping
- ["keymap_showinventory"] = "Show Inventory",
-
-- Salary related
["received_salary"] = "You have been paid: $%s",
["received_help"] = "You have been paid your welfare check: $%s",
diff --git a/[core]/es_extended/locales/es.lua b/[core]/es_extended/locales/es.lua
index 47e3b99e..c61b1a34 100644
--- a/[core]/es_extended/locales/es.lua
+++ b/[core]/es_extended/locales/es.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventario (Peso %s / %s)",
- ["use"] = "Usar",
- ["give"] = "Dar",
- ["remove"] = "Tirar",
- ["return"] = "Devolver",
- ["give_to"] = "Dar a",
- ["amount"] = "Cantidad",
- ["giveammo"] = "Dar munición",
- ["amountammo"] = "Cantidad de munición",
- ["noammo"] = "¡Insuficiente!",
- ["gave_item"] = "Dando %sx %s a %s",
- ["received_item"] = "Recibido %sx %s de %s",
- ["gave_weapon"] = "Dando %s a %s",
- ["gave_weapon_ammo"] = "Dando ~o~%sx %s para %s a %s",
- ["gave_weapon_withammo"] = "Dando %s con ~o~%sx %s a %s",
- ["gave_weapon_hasalready"] = "%s ya tiene un %s",
- ["gave_weapon_noweapon"] = "%s no tiene esa arma",
- ["received_weapon"] = "Recibido %s de %s",
- ["received_weapon_ammo"] = "Recibido ~o~%sx %s para tu %s de %s",
- ["received_weapon_withammo"] = "Recibido %s con ~o~%sx %s de %s",
- ["received_weapon_hasalready"] = "%s ha intentado darte un %s, pero ya tienes esta arma",
- ["received_weapon_noweapon"] = "%s ha intentado darte munición para un %s, pero no tienes esta arma",
- ["gave_account_money"] = "Dando $%s (%s) a %s",
- ["received_account_money"] = "Recibido $%s (%s) de %s",
- ["amount_invalid"] = "Cantidad inválida",
- ["players_nearby"] = "No hay jugadores cerca",
- ["ex_inv_lim"] = "No se puede realizar la acción, se excede el peso máximo de %s",
- ["imp_invalid_quantity"] = "No se puede realizar la acción, la cantidad es inválida",
- ["imp_invalid_amount"] = "No se puede realizar la acción, la cantidad es inválida",
- ["threw_standard"] = "Tirando %sx %s",
- ["threw_account"] = "Tirando $%s %s",
- ["threw_weapon"] = "Tirando %s",
- ["threw_weapon_ammo"] = "Tirando %s con ~o~%sx %s",
- ["threw_weapon_already"] = "Ya tienes esta arma",
- ["threw_cannot_pickup"] = "¡Inventario lleno, no se puede recoger!",
- ["threw_pickup_prompt"] = "Pulsa E para recoger",
-
- -- Key mapping
- ["keymap_showinventory"] = "Mostrar inventario",
-
-- Salary related
["received_salary"] = "Has cobrado: $%s",
["received_help"] = "Has cobrado tu subsidio: $%s",
diff --git a/[core]/es_extended/locales/fi.lua b/[core]/es_extended/locales/fi.lua
index a1ebffd2..ceb76da4 100644
--- a/[core]/es_extended/locales/fi.lua
+++ b/[core]/es_extended/locales/fi.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Reppu %s / %s",
- ["use"] = "Käytä",
- ["give"] = "Anna",
- ["remove"] = "Poista",
- ["return"] = "Takaisin",
- ["give_to"] = "Anna henkilölle",
- ["amount"] = "Määrä",
- ["giveammo"] = "Anna ammuksia",
- ["amountammo"] = "Ammusten määrä",
- ["noammo"] = "Sinulla ei ole ammuksia!",
- ["gave_item"] = "Sinä annoit %sx %s henkilölle %s",
- ["received_item"] = "Sinä sait %sx %s henkilöltä %s",
- ["gave_weapon"] = "Sinä annoit 1x %s henkilölle %s",
- ["gave_weapon_ammo"] = "Annoit ~o~%sx %s kohteelle %s henkilölle %s",
- ["gave_weapon_withammo"] = "Sinä annoit 1x %s ammuksella ~o~%sx %s henkilölle %s",
- ["gave_weapon_hasalready"] = "%s omistaa jo %s",
- ["gave_weapon_noweapon"] = "%s ei ole kyseistä asetta",
- ["received_weapon"] = "Vastaanotit 1x %s henkilöltä %s",
- ["received_weapon_ammo"] = "Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s",
- ["received_weapon_withammo"] = "Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s",
- ["received_weapon_hasalready"] = "%s yritti antaa sinulle %s, mutta sinulla on jo sellainen",
- ["received_weapon_noweapon"] = "%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista",
- ["gave_account_money"] = "Sinä annoit $%s (%s) henkilölle %s",
- ["received_account_money"] = "Sinä sait $%s (%s) henkilöltä %s",
- ["amount_invalid"] = "Virheellinen määrä",
- ["players_nearby"] = "Ei pelaajia lähettyvillä",
- ["ex_inv_lim"] = "Toiminto mahdoton, reppu alkaa olla täysi %s",
- ["imp_invalid_quantity"] = "Toiminto mahdoton, virheellinen määrä",
- ["imp_invalid_amount"] = "Toiminto mahdoton, virhellinen summa",
- ["threw_standard"] = "Sinä heitit %sx %s",
- ["threw_account"] = "Sinä heitit $%s %s",
- ["threw_weapon"] = "Sinä heitit 1x %s",
- ["threw_weapon_ammo"] = "Heitit 1x %s ammuksella ~o~%sx %s",
- ["threw_weapon_already"] = "Sinulla on jo sama ase",
- ["threw_cannot_pickup"] = "Et voi kerätä sitä, koska reppusi on täynnä",
- ["threw_pickup_prompt"] = "Paina E kerätäksesi",
-
- -- Key mapping
- ["keymap_showinventory"] = "Avaa reppu",
-
-- Salary related
["received_salary"] = "Vastaanotit palkkaa: $%s",
["received_help"] = "Vastaanotit valtion tukea: $%s",
diff --git a/[core]/es_extended/locales/fr.lua b/[core]/es_extended/locales/fr.lua
index 95f5f796..8870e1ee 100644
--- a/[core]/es_extended/locales/fr.lua
+++ b/[core]/es_extended/locales/fr.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventaire ( Poids %s / %s )",
- ["use"] = "Utiliser",
- ["give"] = "Donner",
- ["remove"] = "Jeter",
- ["return"] = "Retour",
- ["give_to"] = "Donner à",
- ["amount"] = "Quantité",
- ["giveammo"] = "Donner des munitions",
- ["amountammo"] = "Nombre de munitions",
- ["noammo"] = "Vous n'avez pas autant de munitions!",
- ["gave_item"] = "Vous avez donné %sx %s à %s",
- ["received_item"] = "Vous avez reçu %sx %s de %s",
- ["gave_weapon"] = "Vous avez donné 1x %s à %s",
- ["gave_weapon_ammo"] = "Vous avez donné ~o~%sx %s pour %s à %s",
- ["gave_weapon_withammo"] = "Vous avez donné 1x %s avec ~o~%sx %s à %s",
- ["gave_weapon_hasalready"] = "%s a déjà 1x %s",
- ["gave_weapon_noweapon"] = "%s n'a pas cette arme",
- ["received_weapon"] = "Vous avez reçu 1x %s de %s",
- ["received_weapon_ammo"] = "Vous avez reçu ~o~%sx %s pour votre %s de %s",
- ["received_weapon_withammo"] = "Vous avez reçu 1x %s avec ~o~%sx %s de %s",
- ["received_weapon_hasalready"] = "%s a tenté de vous donner 1x %s, mais vous en aviez déjà un exemplaire",
- ["received_weapon_noweapon"] = "%s a tenté de vous donner des munitions pour %s, mais vous n'avez pas cette arme",
- ["gave_account_money"] = "Vous avez donné $%s (%s) à %s",
- ["received_account_money"] = "Vous avez reçu $%s (%s) de %s",
- ["amount_invalid"] = "Le montant est invalide",
- ["players_nearby"] = "Aucun joueur n'est à proximité",
- ["ex_inv_lim"] = "Action impossible, dépassement du poids maximum de %s",
- ["imp_invalid_quantity"] = "Action impossible, la quantité est invalide",
- ["imp_invalid_amount"] = "Action impossible, le montant est invalide",
- ["threw_standard"] = "Vous avez jeté %sx %s",
- ["threw_account"] = "Vous avez jeté $%s %s",
- ["threw_weapon"] = "Vous avez jeté 1x %s",
- ["threw_weapon_ammo"] = "Vous avez jeté 1x %s avec ~o~%sx %s",
- ["threw_weapon_already"] = "Vous avez déjà cette arme",
- ["threw_cannot_pickup"] = "Votre inventaire est plein, vous ne pouvez donc pas ramasser cela!",
- ["threw_pickup_prompt"] = "Appuyez sur E pour ramasser",
-
- -- Key mapping
- ["keymap_showinventory"] = "Afficher l'inventaire",
-
-- Salary related
["received_salary"] = "Vous avez reçu votre salaire: $%s",
["received_help"] = "Vous avez reçu une aide de l'état: $%s",
diff --git a/[core]/es_extended/locales/he.lua b/[core]/es_extended/locales/he.lua
index 4c8440ff..b11f3d31 100644
--- a/[core]/es_extended/locales/he.lua
+++ b/[core]/es_extended/locales/he.lua
@@ -1,44 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "מלאי ( משקל %s / %s )",
- ["use"] = "השתמש",
- ["give"] = "תן",
- ["remove"] = "זרוק",
- ["return"] = "חזור",
- ["give_to"] = "תן ל",
- ["amount"] = "כמות",
- ["giveammo"] = "תן תחמושת",
- ["amountammo"] = "כמות תחמושת",
- ["noammo"] = "לא מספיק!",
- ["gave_item"] = "ניתן %sx %s ל %s",
- ["received_item"] = "קיבלת %sx %s מ %s",
- ["gave_weapon"] = "ניתן %s ל %s",
- ["gave_weapon_ammo"] = "ניתן ~o~%sx %s ל %s ל %s",
- ["gave_weapon_withammo"] = "ניתן %s עם ~o~%sx %s ל %s",
- ["gave_weapon_hasalready"] = "%s כבר יש לו %s",
- ["gave_weapon_noweapon"] = "%s אין לו את הנשק הזה",
- ["received_weapon"] = "קיבלת %s מ %s",
- ["received_weapon_ammo"] = "קיבלת ~o~%sx %s ל %s שלך מ %s",
- ["received_weapon_withammo"] = "קיבלת %s עם ~o~%sx %s מ %s",
- ["received_weapon_hasalready"] = "%s ניסה לתת לך %s, אך יש לך כבר נשק זה",
- ["received_weapon_noweapon"] = "%s ניסה לתת לך תחמושת ל %s, אך אין לך נשק זה",
- ["gave_account_money"] = "ניתן $%s (%s) ל %s",
- ["received_account_money"] = "קיבלת $%s (%s) מ %s",
- ["amount_invalid"] = "כמות לא חוקית",
- ["players_nearby"] = "אין שחקנים קרובים",
- ["ex_inv_lim"] = "לא ניתן לבצע פעולה, חורג מהמשקל המרבי של %s",
- ["imp_invalid_quantity"] = "לא ניתן לבצע פעולה, הכמות אינה חוקית",
- ["imp_invalid_amount"] = "לא ניתן לבצע פעולה, הסכום אינו חוקי",
- ["threw_standard"] = "זורק %sx %s",
- ["threw_account"] = "זורק $%s %s",
- ["threw_weapon"] = "זורק %s",
- ["threw_weapon_ammo"] = "זורק %s עם ~o~%sx %s",
- ["threw_weapon_already"] = "כבר יש לך נשק זה",
- ["threw_cannot_pickup"] = "המלאי מלא, לא ניתן לאסוף!",
- ["threw_pickup_prompt"] = "לחץ E כדי לאסוף",
- -- Key mapping
- ["keymap_showinventory"] = "הצג מלאי",
-
-- Salary related
["received_salary"] = "קיבלת שכר: $%s",
["received_help"] = "קיבלת הטבה: $%s",
diff --git a/[core]/es_extended/locales/hu.lua b/[core]/es_extended/locales/hu.lua
index e805ccf1..b0e05f76 100644
--- a/[core]/es_extended/locales/hu.lua
+++ b/[core]/es_extended/locales/hu.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventory ( Súly %s / %s )",
- ["use"] = "Használ",
- ["give"] = "Átad",
- ["remove"] = "Eldob",
- ["return"] = "Visszatérés",
- ["give_to"] = "Adni valakinek",
- ["amount"] = "Mennyiség",
- ["giveammo"] = "Lőszer adás",
- ["amountammo"] = "Lőszer mennyiség",
- ["noammo"] = "Nincsen több lövedéked!",
- ["gave_item"] = "Átadtál: %sx %s neki: %s",
- ["received_item"] = "Kaptál: %sx %s töle: %s",
- ["gave_weapon"] = "Átadtál: %s neki: %s",
- ["gave_weapon_ammo"] = "Átadtál ~o~%sx %s %s neki: %s",
- ["gave_weapon_withammo"] = "Átadtál %s ~o~%sx %s neki: %s",
- ["gave_weapon_hasalready"] = "%s már rendelkezik %s",
- ["gave_weapon_noweapon"] = "%s nincsen ilyen fegyere",
- ["received_weapon"] = "Kaptál: %s töle: %s",
- ["received_weapon_ammo"] = "Kaptál ~o~%sx %s %s töle: %s",
- ["received_weapon_withammo"] = "Kaptál %s ~o~%sx %s töle: %s",
- ["received_weapon_hasalready"] = "%s megpróbálta átadni a következöt: %s, nem már van rendelkezel egy ilyennel",
- ["received_weapon_noweapon"] = "%s átakart adni %s, de nincsen ilyen fegyvered",
- ["gave_account_money"] = "Átadtál: $%s (%s) neki: %s",
- ["received_account_money"] = "Kaptál: $%s (%s) töle: %s",
- ["amount_invalid"] = "Érvénytelen mennyiség",
- ["players_nearby"] = "Nincsen játékos a közeledben",
- ["ex_inv_lim"] = "Nincsen elég szabad helyed %s",
- ["imp_invalid_quantity"] = "Érvénytelen mennyiség",
- ["imp_invalid_amount"] = "Érvénytelen összeg",
- ["threw_standard"] = "Kidobtál: %sx %s",
- ["threw_account"] = "Kidobtál: $%s %s",
- ["threw_weapon"] = "Kidobtál: %s",
- ["threw_weapon_ammo"] = "Kidobtál: %s ~o~%sx %s",
- ["threw_weapon_already"] = "Van már ilyen fegyvered",
- ["threw_cannot_pickup"] = "Nincsen elég szabad helyed",
- ["threw_pickup_prompt"] = "E hogy felvedd",
-
- -- Key mapping
- ["keymap_showinventory"] = "Leltár mutatása",
-
-- Salary related
["received_salary"] = "Megkaptad a fizetésed: $%s",
["received_help"] = "Megkaptad a segélyt: $%s",
diff --git a/[core]/es_extended/locales/id.lua b/[core]/es_extended/locales/id.lua
index 1dfa8487..f64361d2 100644
--- a/[core]/es_extended/locales/id.lua
+++ b/[core]/es_extended/locales/id.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventaris ( Berat %s / %s )",
- ["use"] = "Gunakan",
- ["give"] = "Beri",
- ["remove"] = "Buang",
- ["return"] = "Kembali",
- ["give_to"] = "Beri ke",
- ["amount"] = "Jumlah",
- ["giveammo"] = "Beri amunisi",
- ["amountammo"] = "Jumlah Amunisi",
- ["noammo"] = "Tidak cukup!",
- ["gave_item"] = "Memberi %sx %s ke %s",
- ["received_item"] = "Menerima %sx %s dari %s",
- ["gave_weapon"] = "Memberi %s ke %s",
- ["gave_weapon_ammo"] = "Memberi ~o~%sx %s untuk %s ke %s",
- ["gave_weapon_withammo"] = "Memberi %s dengan ~o~%sx %s ke %s",
- ["gave_weapon_hasalready"] = "%s sudah memiliki %s",
- ["gave_weapon_noweapon"] = "%s tidak memiliki senjata tersebut",
- ["received_weapon"] = "Menerima %s dari %s",
- ["received_weapon_ammo"] = "Menerima ~o~%sx %s untuk %s Anda dari %s",
- ["received_weapon_withammo"] = "Menerima %s dengan ~o~%sx %s dari %s",
- ["received_weapon_hasalready"] = "%s mencoba memberimu %s, tapi kamu sudah memiliki senjata ini",
- ["received_weapon_noweapon"] = "%s mencoba memberimu amunisi untuk %s, tapi kamu tidak memiliki senjata ini",
- ["gave_account_money"] = "Memberi $%s (%s) ke %s",
- ["received_account_money"] = "Menerima $%s (%s) dari %s",
- ["amount_invalid"] = "Jumlah salah",
- ["players_nearby"] = "Tidak ada Player di sekitar",
- ["ex_inv_lim"] = "Tidak dapat melakukan aksi, melebihi batas berat dari %s",
- ["imp_invalid_quantity"] = "Tidak dapat melakukan aksi, jumlah salah",
- ["imp_invalid_amount"] = "Tidak dapat melakukan aksi, jumlah salah",
- ["threw_standard"] = "Membuang %sx %s",
- ["threw_account"] = "Membuang $%s %s",
- ["threw_weapon"] = "Membuang %s",
- ["threw_weapon_ammo"] = "Membuang %s dengan ~o~%sx %s",
- ["threw_weapon_already"] = "Kamu sudah memiliki senjata ini",
- ["threw_cannot_pickup"] = "Inventaris penuh, Tidak dapat mengambil!",
- ["threw_pickup_prompt"] = "Tekan E untuk Mengambil",
-
- -- Key mapping
- ["keymap_showinventory"] = "Buka Inventaris",
-
-- Salary related
["received_salary"] = "Anda telah dibayar: $%s",
["received_help"] = "Anda telah menerima dana kesejahteraan: $%s",
diff --git a/[core]/es_extended/locales/it.lua b/[core]/es_extended/locales/it.lua
index 9de0edb5..80378e1c 100644
--- a/[core]/es_extended/locales/it.lua
+++ b/[core]/es_extended/locales/it.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventario ( Peso %s / %s )",
- ["use"] = "Usa",
- ["give"] = "Dai",
- ["remove"] = "Butta",
- ["return"] = "Ritorna",
- ["give_to"] = "Dai a",
- ["amount"] = "Quantità",
- ["giveammo"] = "Dai munizioni",
- ["amountammo"] = "Quantità munizioni",
- ["noammo"] = "Non abbastanza!",
- ["gave_item"] = "Dando %sx %s a %s",
- ["received_item"] = "Ricevuto %sx %s da %s",
- ["gave_weapon"] = "Dando %s a %s",
- ["gave_weapon_ammo"] = "Dando ~o~%sx %s for %s to %s",
- ["gave_weapon_withammo"] = "Dando %s con ~o~%sx %s a %s",
- ["gave_weapon_hasalready"] = "%s possiede già %s",
- ["gave_weapon_noweapon"] = "%s non ha quell' arma",
- ["received_weapon"] = "Ricevuto %s da %s",
- ["received_weapon_ammo"] = "Ricevuto ~o~%sx %s per il tuo %s da %s",
- ["received_weapon_withammo"] = "Ricevuto %s con ~o~%sx %s per %s",
- ["received_weapon_hasalready"] = "%s ha tentato di darti %s, ma hai già l'arma",
- ["received_weapon_noweapon"] = "%s ha tentato di darti munizioni per %s, ma non hai l'arma",
- ["gave_account_money"] = "Dando $%s (%s) a %s",
- ["received_account_money"] = "Ricevuto $%s (%s) da %s",
- ["amount_invalid"] = "Quantità non valida",
- ["players_nearby"] = "Nessun giocatore vicino",
- ["ex_inv_lim"] = "Non puoi farlo, eccedi il peso di %s",
- ["imp_invalid_quantity"] = "Non puoi farlo, quantità non valida",
- ["imp_invalid_amount"] = "Non puoi farlo, importo non valido",
- ["threw_standard"] = "Gettando %sx %s",
- ["threw_account"] = "Gettando $%s %s",
- ["threw_weapon"] = "Gettando %s",
- ["threw_weapon_ammo"] = "Gettando %s con ~o~%sx %s",
- ["threw_weapon_already"] = "Hai gia quest' arma",
- ["threw_cannot_pickup"] = "Inventario pieno, non puoi raccogliere!",
- ["threw_pickup_prompt"] = "Premi E per raccogliere",
-
- -- Key mapping
- ["keymap_showinventory"] = "Apri inventario",
-
-- Salary related
["received_salary"] = "Sei stato pagato: $%s",
["received_help"] = "Hai ricevuto il reddito di cittadinanza: $%s",
diff --git a/[core]/es_extended/locales/nl.lua b/[core]/es_extended/locales/nl.lua
index 494e0c3f..b03c1f9e 100644
--- a/[core]/es_extended/locales/nl.lua
+++ b/[core]/es_extended/locales/nl.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventaris ( Gewicht %s / %s )",
- ["use"] = "Gebruik",
- ["give"] = "Geef",
- ["remove"] = "Gooi",
- ["return"] = "Terug",
- ["give_to"] = "Geef aan",
- ["amount"] = "Aantal",
- ["giveammo"] = "Geef munitie",
- ["amountammo"] = "Hoeveelheid munitie",
- ["noammo"] = "Niet genoeg munitie!",
- ["gave_item"] = "%sx %s gegeven aan %s",
- ["received_item"] = "%sx %s ontvangen van %s",
- ["gave_weapon"] = "%s gegeven aan %s",
- ["gave_weapon_ammo"] = "~o~%sx %s gegeven voor een %s aan %s",
- ["gave_weapon_withammo"] = "%s gegeven met ~o~%sx %s aan %s",
- ["gave_weapon_hasalready"] = "%s heeft al een %s",
- ["gave_weapon_noweapon"] = "%s heeft dat wapen niet",
- ["received_weapon"] = "%s ontvangen van %s",
- ["received_weapon_ammo"] = "~o~%sx %s ontvangen voor je %s van %s",
- ["received_weapon_withammo"] = "%s ontvangen met ~o~%sx %s van %s",
- ["received_weapon_hasalready"] = "%s heeft geprobeerd je een %s te geven, maar je hebt dat wapen al.",
- ["received_weapon_noweapon"] = "%s heeft geprobeerd je ammo te geven voor een %s, maar je hebt dit wapen niet",
- ["gave_account_money"] = "€%s (%s) gegeven aan %s",
- ["received_account_money"] = "€%s (%s) ontvangen van %s",
- ["amount_invalid"] = "Ongeldige hoeveelheid",
- ["players_nearby"] = "Geen spelers in de buurt",
- ["ex_inv_lim"] = "Kan actie niet uitvoeren, overschrijdt max. gewicht van %s",
- ["imp_invalid_quantity"] = "Kan actie niet uitvoeren, de hoeveelheid is ongeldig",
- ["imp_invalid_amount"] = "Kan actie niet uitvoeren, het aantal is ongeldig",
- ["threw_standard"] = "%sx %s weggegooid",
- ["threw_account"] = "€%s %s weggegooid",
- ["threw_weapon"] = "%s weggegooid",
- ["threw_weapon_ammo"] = "%s met ~o~%sx %s weggegooid",
- ["threw_weapon_already"] = "Je hebt dit wapen al !",
- ["threw_cannot_pickup"] = "Inventaris is vol, je kan dit niet oppakken!",
- ["threw_pickup_prompt"] = "Druk op E om op te pakken",
-
- -- Key mapping
- ["keymap_showinventory"] = "Laat inventaris zien",
-
-- Salary related
["received_salary"] = "Je bent betaald: €%s",
["received_help"] = "Je hebt je uitkering gekregen: €%s",
diff --git a/[core]/es_extended/locales/pl.lua b/[core]/es_extended/locales/pl.lua
index 7535ffdd..aa12acd2 100644
--- a/[core]/es_extended/locales/pl.lua
+++ b/[core]/es_extended/locales/pl.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "ekwipunek %s / %s",
- ["use"] = "użyj",
- ["give"] = "daj",
- ["remove"] = "usuń",
- ["return"] = "wróć",
- ["give_to"] = "daj dla",
- ["amount"] = "ilość",
- ["giveammo"] = "daj amunicje",
- ["amountammo"] = "ilość amunicji",
- ["noammo"] = "nie posiadasz wystarczającej ilości amunicji!",
- ["gave_item"] = "dałeś/aś %sx %s dla %s",
- ["received_item"] = "otrzymałeś/aś %sx %s od %s",
- ["gave_weapon"] = "dałeś/aś %s dla %s",
- ["gave_weapon_ammo"] = "dałeś/aś ~o~%sx %s do %s dla %s",
- ["gave_weapon_withammo"] = "dałeś/aś %s z ~o~%sx %s dla %s",
- ["gave_weapon_hasalready"] = "%s już posiada %s",
- ["gave_weapon_noweapon"] = "%s nie posiada tej broni",
- ["received_weapon"] = "otrzymałeś/aś %s od %s",
- ["received_weapon_ammo"] = "otrzymałeś/aś ~o~%sx %s do twojego %s od %s",
- ["received_weapon_withammo"] = "otrzymałeś/aś %s z ~o~%sx %s od %s",
- ["received_weapon_hasalready"] = "%s próbował/a przekazać ci %s, lecz już posiadasz jedno",
- ["received_weapon_noweapon"] = "%s próbował/a przekazać ci amunicje do %s, lecz nie posiadasz tej broni",
- ["gave_account_money"] = "dałeś/aś %s$ (%s) dla %s",
- ["received_account_money"] = "otrzymałeś/aś %s$ (%s) od %s",
- ["amount_invalid"] = "nieprawidłowa ilość",
- ["players_nearby"] = "brak graczy w pobliżu",
- ["ex_inv_lim"] = "akcja nie jest możliwa, nie możesz mieć więcej %s",
- ["imp_invalid_quantity"] = "akcja jest niemożliwa, nieprawidłowa ilość",
- ["imp_invalid_amount"] = "akcja jest niemożliwa, nieprawidłowa kwota",
- ["threw_standard"] = "wyrzuciłeś/aś %sx %s",
- ["threw_account"] = "wyrzuciłeś/aś $%s %s",
- ["threw_weapon"] = "wyrzuciłeś/aś %s",
- ["threw_weapon_ammo"] = "wyrzuciłeś/aś %s z ~o~%sx %s",
- ["threw_weapon_already"] = "już posiadasz taką samą broń",
- ["threw_cannot_pickup"] = "nie możesz tego podnieść, gdyż masz pełny ekwipunek!",
- ["threw_pickup_prompt"] = "naciśnij E aby podnieść",
-
- -- Key mapping
- ["keymap_showinventory"] = "pokaż ekwipunek",
-
-- Salary related
["received_salary"] = "otrzymałeś/aś wynagrodzenie: %s$",
["received_help"] = "otrzymałeś/aś zapomogę: $%s",
diff --git a/[core]/es_extended/locales/sl.lua b/[core]/es_extended/locales/sl.lua
index 3808ab28..1d607c02 100644
--- a/[core]/es_extended/locales/sl.lua
+++ b/[core]/es_extended/locales/sl.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Shramba ( Teza %s / %s )",
- ["use"] = "Uporabi",
- ["give"] = "Daj",
- ["remove"] = "Vrzi",
- ["return"] = "Povratek",
- ["give_to"] = "Daj",
- ["amount"] = "Vsota",
- ["giveammo"] = "Daj Strelivo",
- ["amountammo"] = "Količina streliva",
- ["noammo"] = "Ni dovolj!",
- ["gave_item"] = "Dal si %sx %s k %s",
- ["received_item"] = "Dobil si %sx %s od %s",
- ["gave_weapon"] = "Dajanje %s do %s",
- ["gave_weapon_ammo"] = "Dajanje ~o~%sx %s za %s do %s",
- ["gave_weapon_withammo"] = "Dajanje %s z ~o~%sx %s do %s",
- ["gave_weapon_hasalready"] = "%s ze ima %s",
- ["gave_weapon_noweapon"] = "%s se nima tega orozja",
- ["received_weapon"] = "Dobil si %s od %s",
- ["received_weapon_ammo"] = "Dobil ~o~%sx %s za tvoj/o %s od %s",
- ["received_weapon_withammo"] = "Dobil si %s z ~o~%sx %s od %s",
- ["received_weapon_hasalready"] = "%s vam je poskušal dati %s, vendar že imate to orožje",
- ["received_weapon_noweapon"] = "%s vam je poskušal dati strelivo za %s, vendar nimate tega orožja",
- ["gave_account_money"] = "Dajanje $%s (%s) do %s",
- ["received_account_money"] = "Dobil $%s (%s) od %s",
- ["amount_invalid"] = "Neveljavna količina",
- ["players_nearby"] = "V blizini ni ljudi",
- ["ex_inv_lim"] = "Dejanja ni mogoče izvesti, saj presega največjo težo %s",
- ["imp_invalid_quantity"] = "Dejanja ni mogoče izvesti, količina je neveljavna",
- ["imp_invalid_amount"] = "Dejanja ni mogoče izvesti, znesek je neveljaven",
- ["threw_standard"] = "Metanje %sx %s",
- ["threw_account"] = "Metanje $%s %s",
- ["threw_weapon"] = "Metanje %s",
- ["threw_weapon_ammo"] = "Metanje %s z ~o~%sx %s",
- ["threw_weapon_already"] = "Ti ze imas to orozje",
- ["threw_cannot_pickup"] = "Shramba je poln, nemorem pobrati!",
- ["threw_pickup_prompt"] = "Pritisni E da poberes",
-
- -- Key mapping
- ["keymap_showinventory"] = "Pokazi Shrambo",
-
-- Salary related
["received_salary"] = "Vi ste plačali: $%s",
["received_help"] = "Vi ste placali svoj CEK v vrednosti: $%s",
diff --git a/[core]/es_extended/locales/sr.lua b/[core]/es_extended/locales/sr.lua
index fb76e019..2eece0a8 100644
--- a/[core]/es_extended/locales/sr.lua
+++ b/[core]/es_extended/locales/sr.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventar ( Težina %s / %s )",
- ["use"] = "Koristi",
- ["give"] = "Daj",
- ["remove"] = "Baci",
- ["return"] = "Nazad",
- ["give_to"] = "Daj",
- ["amount"] = "Količina",
- ["giveammo"] = "Daj municiju",
- ["amountammo"] = "Količina municije",
- ["noammo"] = "Nemate dovoljno!",
- ["gave_item"] = "Davanje %sx %s igraču %s",
- ["received_item"] = "Dobijeno %sx %s od %s",
- ["gave_weapon"] = "Davanje %s igraču %s",
- ["gave_weapon_ammo"] = "Davanje ~o~%sx %s za %s igraču %s",
- ["gave_weapon_withammo"] = "Davanje %s sa ~o~%sx %s igraču %s",
- ["gave_weapon_hasalready"] = "%s već ima %s",
- ["gave_weapon_noweapon"] = "%s nema to oružje",
- ["received_weapon"] = "Dobijeno %s od %s",
- ["received_weapon_ammo"] = "Dobijeno ~o~%sx %s za vaš %s od %s",
- ["received_weapon_withammo"] = "Dobijeno %s sa ~o~%sx %s od %s",
- ["received_weapon_hasalready"] = "%s je pokušao da Vam da %s, ali vi već imate to oružje",
- ["received_weapon_noweapon"] = "%s je pokušao da Vam da municiju za %s, ali vi nemate to oružje",
- ["gave_account_money"] = "Davanje $%s (%s) igraču %s",
- ["received_account_money"] = "Dobijeno $%s (%s) od %s",
- ["amount_invalid"] = "Nevažeća količina",
- ["players_nearby"] = "Nema igrača u blizini",
- ["ex_inv_lim"] = "Ne možete uraditi to, premašuje max težinu od %s",
- ["imp_invalid_quantity"] = "Nevažeća količina",
- ["imp_invalid_amount"] = "Nevažeći iznos",
- ["threw_standard"] = "Bacanje %sx %s",
- ["threw_account"] = "Bacanje $%s %s",
- ["threw_weapon"] = "Bacanje %s",
- ["threw_weapon_ammo"] = "Bacanje %s sa ~o~%sx %s",
- ["threw_weapon_already"] = "Vi već imate to oružje",
- ["threw_cannot_pickup"] = "Inventar je pun, ne možete pokupiti to!",
- ["threw_pickup_prompt"] = "Pritisni E da pokupiš",
-
- -- Key mapping
- ["keymap_showinventory"] = "Otvaranje inventara",
-
-- Salary related
["received_salary"] = "Plaćeno Vam je: $%s",
["received_help"] = "Isplaćen Vam je ček: $%s",
diff --git a/[core]/es_extended/locales/sv.lua b/[core]/es_extended/locales/sv.lua
index 14e45b40..ad1c073c 100644
--- a/[core]/es_extended/locales/sv.lua
+++ b/[core]/es_extended/locales/sv.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Inventory ( Vikt %s / %s )",
- ["use"] = "Använd",
- ["give"] = "Ge",
- ["remove"] = "Kasta",
- ["return"] = "Tillbaka",
- ["give_to"] = "Ge",
- ["amount"] = "Antal",
- ["giveammo"] = "Ge skott",
- ["amountammo"] = "Antal skott",
- ["noammo"] = "Inte tillräckligt!",
- ["gave_item"] = "Ger %sx %s till %s",
- ["received_item"] = "Mottog %sx %s från %s",
- ["gave_weapon"] = "Ger %s till %s",
- ["gave_weapon_ammo"] = "Ger ~o~%sx %s för %s till %s",
- ["gave_weapon_withammo"] = "Ger %s med ~o~%sx %s till %s",
- ["gave_weapon_hasalready"] = "%s har redan en %s",
- ["gave_weapon_noweapon"] = "%s har inte detta vapen",
- ["received_weapon"] = "Mottog %s från %s",
- ["received_weapon_ammo"] = "Mottog ~o~%sx %s för din %s från %s",
- ["received_weapon_withammo"] = "Mottog %s med ~o~%sx %s från %s",
- ["received_weapon_hasalready"] = "%s har försökt ge dig en %s, men du har redan detta",
- ["received_weapon_noweapon"] = "%s har försökt ge dig skott till en %s, men du har inte detta vapen",
- ["gave_account_money"] = "Ger %skr (%s) till %s",
- ["received_account_money"] = "Mottog %skr (%s) från %s",
- ["amount_invalid"] = "Ogiltig mängd",
- ["players_nearby"] = "Inga spelare nära",
- ["ex_inv_lim"] = "Kan inte utföra, överskrider maxvikten på %s",
- ["imp_invalid_quantity"] = "Kan inte utföra, mängden är ogiltig",
- ["imp_invalid_amount"] = "Kan inte utföra, antalet är ogiltig",
- ["threw_standard"] = "Kastar %sx %s",
- ["threw_account"] = "Kastar %skr %s",
- ["threw_weapon"] = "Kastar %s",
- ["threw_weapon_ammo"] = "Kastar %s med ~o~%sx %s",
- ["threw_weapon_already"] = "Du har redan detta vapen",
- ["threw_cannot_pickup"] = "Inventoryt är fullt, kan inte plocka upp!",
- ["threw_pickup_prompt"] = "Tryck E för att plocka upp",
-
- -- Key mapping
- ["keymap_showinventory"] = "Öppna inventory",
-
-- Salary related
["received_salary"] = "Du har fått ditt bidrag: %skr",
["received_help"] = "Du har fått betalt: %skr",
diff --git a/[core]/es_extended/locales/tr.lua b/[core]/es_extended/locales/tr.lua
index 6c0f9edb..fc97415a 100644
--- a/[core]/es_extended/locales/tr.lua
+++ b/[core]/es_extended/locales/tr.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "Envanter ( Ağırlık %s / %s )",
- ["use"] = "Kullan",
- ["give"] = "Ver",
- ["remove"] = "At",
- ["return"] = "Geri Ver",
- ["give_to"] = "Şuna Ver",
- ["amount"] = "Miktar",
- ["giveammo"] = "Mermi Ver",
- ["amountammo"] = "Mermi Miktarı",
- ["noammo"] = "Yeterli Değil!",
- ["gave_item"] = "Verilen %sx %s %s'ye",
- ["received_item"] = "Alınan %sx %s %s'den",
- ["gave_weapon"] = "Verilen %s %s'ye",
- ["gave_weapon_ammo"] = "Verilen ~o~%sx %s %s için %s'ye",
- ["gave_weapon_withammo"] = "Verilen %s ile ~o~%sx %s %s'ye",
- ["gave_weapon_hasalready"] = "%s Zaten Bir %s Sahip",
- ["gave_weapon_noweapon"] = "%s O Silahı Sahip Değil",
- ["received_weapon"] = "%s'den %s Alındı",
- ["received_weapon_ammo"] = "%s'den %s için ~o~%sx %s Alındı",
- ["received_weapon_withammo"] = "%s'den %s ile ~o~%sx %s Alındı",
- ["received_weapon_hasalready"] = "%s Size Bir %s Vermeye Çalıştı, Ama Zaten Bu Silahınız Var",
- ["received_weapon_noweapon"] = "%s Size Bir %s İçin Mermi Vermeye Çalıştı, Ama Bu Silaha Sahip Değilsiniz",
- ["gave_account_money"] = "Verilen $%s (%s) %s'ye",
- ["received_account_money"] = "Alınan $%s (%s) %s'den",
- ["amount_invalid"] = "Geçersiz Miktar",
- ["players_nearby"] = "Yakınlarda Hiçbir Oyuncu Yok",
- ["ex_inv_lim"] = "İşlem Yapılamaz, %s Ağırlık Sınırı Aşıldı",
- ["imp_invalid_quantity"] = "İşlem Yapılamaz, Miktar Geçersiz",
- ["imp_invalid_amount"] = "İşlem Yapılamaz, Miktar Geçersiz",
- ["threw_standard"] = "Atılan %sx %s",
- ["threw_account"] = "Atılan $%s %s",
- ["threw_weapon"] = "Atılan %s",
- ["threw_weapon_ammo"] = "Atılan %s ile ~o~%sx %s",
- ["threw_weapon_already"] = "Bu Silaha Zaten Sahipsiniz",
- ["threw_cannot_pickup"] = "Envanter Dolu, Alınamaz!",
- ["threw_pickup_prompt"] = "Almak İçin E'ye Basın",
-
- -- Key mapping
- ["keymap_showinventory"] = "Envanteri Göster",
-
-- Salary related
["received_salary"] = "Maaşınız Ödendi: $%s",
["received_help"] = "Yardım Çekiniz Ödendi: $%s",
diff --git a/[core]/es_extended/locales/zh-cn.lua b/[core]/es_extended/locales/zh-cn.lua
index 119d2779..55534cf5 100644
--- a/[core]/es_extended/locales/zh-cn.lua
+++ b/[core]/es_extended/locales/zh-cn.lua
@@ -1,45 +1,4 @@
return {
- -- Inventory
- ["inventory"] = "物品栏 (负重 %s / %s)",
- ["use"] = "使用",
- ["give"] = "赠予",
- ["remove"] = "丢弃",
- ["return"] = "返回",
- ["give_to"] = "赠予目标",
- ["amount"] = "数量",
- ["giveammo"] = "赠予弹药",
- ["amountammo"] = "弹药数量",
- ["noammo"] = "弹药不足!",
- ["gave_item"] = "您将 %s 个 %s 赠予给 %s",
- ["received_item"] = "您收到 %s 个 %s, 由 %s 的赠予",
- ["gave_weapon"] = "您将 %s 赠予给 %s",
- ["gave_weapon_ammo"] = "您将 ~o~%s 发 %s %s 赠予 %s",
- ["gave_weapon_withammo"] = "您把 %s 及 ~o~%s 发 %s 赠予 %s",
- ["gave_weapon_hasalready"] = "%s 已拥有 %s",
- ["gave_weapon_noweapon"] = "%s 未拥有该武器",
- ["received_weapon"] = "您收到 %s, 由 %s 赠",
- ["received_weapon_ammo"] = "您收到 ~o~%s 发 %s 的%s, 由 %s 赠予",
- ["received_weapon_withammo"] = "您收到 %s 及 ~o~%s 发 %s, 由 %s 赠予",
- ["received_weapon_hasalready"] = "%s 试图赠予您 %s, 但您已拥有",
- ["received_weapon_noweapon"] = "%s 试图赠予您 %s 发弹药, 但您未装备该武器",
- ["gave_account_money"] = "您将 ¥%s (%s) 转账至 %s",
- ["received_account_money"] = "您收到 ¥%s (%s), 由 %s 转账",
- ["amount_invalid"] = "无效数量",
- ["players_nearby"] = "附近暂无其他人员",
- ["ex_inv_lim"] = "操作失败: 超过最大负重限制 (%s)",
- ["imp_invalid_quantity"] = "操作失败: 无效数量输入",
- ["imp_invalid_amount"] = "操作失败: 无效金额输入",
- ["threw_standard"] = "您已丢弃 %s 个 %s",
- ["threw_account"] = "您已丢弃 ¥%s 笔 %s",
- ["threw_weapon"] = "您已丢弃武器 %s",
- ["threw_weapon_ammo"] = "您已丢弃 %s 及其 ~o~%s 发 %s",
- ["threw_weapon_already"] = "您已持有相同武器!",
- ["threw_cannot_pickup"] = "物品栏已满, 无法拾取!",
- ["threw_pickup_prompt"] = "键下 [E] 拾取",
-
- -- Key mapping
- ["keymap_showinventory"] = "显示物品栏",
-
-- Salary related
["received_salary"] = "您已收到工资: ¥%s",
["received_help"] = "您已领取补助金: ¥%s",
diff --git a/[core]/esx_inventory/client/main.lua b/[core]/esx_inventory/client/main.lua
new file mode 100644
index 00000000..66577af5
--- /dev/null
+++ b/[core]/esx_inventory/client/main.lua
@@ -0,0 +1,223 @@
+---@class InventoryElement
+---@field type "item_account" | "item_standard" | "item_weapon"
+---@field label string
+---@field icon string
+---@field count number
+---@field value string
+---@field usable boolean
+---@field rare boolean
+---@field canRemove boolean
+---@field unselectable boolean?
+---@field ammo number?
+---@field canGiveAmmo boolean?
+
+---@alias InventoryAction "use" | "give" | "remove" | "give_ammo" | "return"
+
+if not ESX.GetConfig("EnableDefaultInventory") then
+ error("ESX Default Inventory is disabled in config, please enable it to use this resource.")
+end
+
+--------------------------------
+-- Inventory Element Builders --
+--------------------------------
+
+---@param elements InventoryElement[]
+local function appendAccounts(elements)
+ for i = 1, #(ESX.PlayerData.accounts) do
+ local account = ESX.PlayerData.accounts[i]
+ if account.money > 0 then
+ local formattedMoney = TranslateCap("locale_currency", ESX.Math.GroupDigits(account.money))
+ local canDrop = account.name ~= "bank"
+ elements[#elements + 1] = {
+ type = "item_account",
+ label = ('%s: %s'):format(account.label, formattedMoney),
+ icon = "fas fa-money-bill-wave",
+ count = account.money,
+ value = account.name,
+ usable = false,
+ rare = false,
+ canRemove = canDrop
+ }
+ end
+ end
+end
+
+---@param elements InventoryElement[]
+---@return number
+local function appendItems(elements)
+ local weight = 0
+ for _, v in ipairs(ESX.PlayerData.inventory) do
+ if v.count > 0 then
+ weight = weight + (v.weight * v.count)
+ elements[#elements + 1] = {
+ type = "item_standard",
+ label = ("%s x%s"):format(v.label, v.count),
+ icon = "fas fa-box",
+ count = v.count,
+ value = v.name,
+ usable = v.usable,
+ rare = v.rare,
+ canRemove = v.canRemove
+ }
+ end
+ end
+ return weight
+end
+
+---@param elements InventoryElement[]
+---@return number
+local function appendLoadout(elements)
+ local weight = 0
+ for _, weapon in ipairs(ESX.GetConfig("Weapons")) do
+ local weaponHash = joaat(weapon.name)
+ if HasPedGotWeapon(ESX.PlayerData.ped, weaponHash, false) then
+ local ammo = GetAmmoInPedWeapon(ESX.PlayerData.ped, weaponHash)
+ local label = weapon.ammo and ("%s - %s %s"):format(weapon.label, ammo, weapon.ammo.label) or weapon.label
+ elements[#elements + 1] = {
+ type = "item_weapon",
+ label = label,
+ icon = "fas fa-gun",
+ count = 1,
+ value = weapon.name,
+ usable = false,
+ rare = false,
+ ammo = ammo,
+ canGiveAmmo = (weapon.ammo ~= nil),
+ canRemove = true
+ }
+ end
+ end
+ return weight
+end
+
+---@return InventoryElement[], number
+local function buildInventoryElements()
+ local elements = {} ---@type InventoryElement[]
+ local totalWeight = 0
+ appendAccounts(elements)
+ totalWeight += appendItems(elements)
+ totalWeight += appendLoadout(elements)
+ ---@diagnostic disable-next-line: missing-fields
+ elements[#elements + 1] = {
+ label = "Current Weight: " .. totalWeight,
+ icon = "fas fa-box",
+ unselectable = true
+ }
+ return elements, totalWeight
+end
+
+---------------------------------
+-- Item Action Menu & Handling --
+---------------------------------
+
+---@param selected InventoryElement
+---@param playerNearby boolean
+---@return table
+local function buildItemActionMenu(selected, playerNearby)
+ local elements2 = {}
+ if selected.usable then
+ elements2[#elements2 + 1] = { action = "use", label = TranslateCap("use"), icon = "fas fa-utensils", type = selected.type, value = selected.value }
+ end
+ if selected.canRemove then
+ if playerNearby then
+ elements2[#elements2 + 1] = { action = "give", label = TranslateCap("give"), icon = "fas fa-hands", type = selected.type, value = selected.value }
+ end
+ elements2[#elements2 + 1] = { action = "remove", label = TranslateCap("remove"), icon = "fas fa-trash", type = selected.type, value = selected.value }
+ end
+ if selected.type == "item_weapon" and selected.canGiveAmmo and selected.ammo > 0 and playerNearby then
+ elements2[#elements2 + 1] = { action = "give_ammo", label = TranslateCap("giveammo"), icon = "fas fa-gun", type = selected.type, value = selected.value }
+ end
+ elements2[#elements2 + 1] = { action = "return", label = TranslateCap("return"), icon = "fas fa-arrow-left" }
+ return elements2
+end
+
+---@param title string
+---@param maxCount number
+---@param cb function
+local function openQuantityDialog(title, maxCount, cb)
+ ESX.UI.Menu.Open("dialog", ESX.currentResourceName, "esx_quantity_dialog", {
+ title = title
+ }, function(data, menu)
+ local qty = tonumber(data.value)
+ if not qty or qty <= 0 or qty > maxCount then
+ ESX.ShowNotification(TranslateCap("amount_invalid"))
+ else
+ menu.close()
+ cb(qty)
+ end
+ end, function(_, menu) menu.close() end)
+end
+
+---@param action InventoryAction
+---@param selected InventoryElement
+---@param closestPlayer number
+local function handleInventoryAction(action, selected, closestPlayer)
+ local itemType, itemName, playerPed = selected.type, selected.value, ESX.PlayerData.ped
+ if action == "give" then
+ openQuantityDialog(TranslateCap("amount"), selected.count, function(qty)
+ TriggerServerEvent("esx:giveInventoryItem", GetPlayerServerId(closestPlayer), itemType, itemName, qty)
+ end)
+ elseif action == "remove" then
+ openQuantityDialog(TranslateCap("amount"), selected.count, function(qty)
+ TriggerServerEvent("esx:removeInventoryItem", itemType, itemName, qty)
+ end)
+ elseif action == "use" then
+ TriggerServerEvent("esx:useItem", itemName)
+ elseif action == "give_ammo" then
+ local pedAmmo = GetAmmoInPedWeapon(playerPed, joaat(itemName))
+ openQuantityDialog(TranslateCap("amount"), pedAmmo, function(qty)
+ TriggerServerEvent("esx:giveInventoryItem", GetPlayerServerId(closestPlayer), "item_ammo", itemName, qty)
+ end)
+ end
+end
+
+----------------------
+-- Main Inventory UI --
+----------------------
+
+local function showInventory()
+ ESX.PlayerData = ESX.GetPlayerData()
+ local elements, totalWeight = buildInventoryElements()
+ ESX.UI.Menu.Open("default", ESX.currentResourceName, "esx_inventory_main", {
+ title = TranslateCap("inventory", totalWeight, ESX.GetConfig("MaxWeight")),
+ elements = elements,
+ }, function(data, menu)
+ local selected = data.current --[[@as InventoryElement]]
+ if selected.unselectable then return end
+
+ local closestPlayer, dist = ESX.Game.GetClosestPlayer()
+ local playerNearby = closestPlayer ~= -1 and dist <= 3.0
+
+ ESX.UI.Menu.Open("default", ESX.currentResourceName, "esx_inventory_actions", {
+ title = selected.label,
+ elements = buildItemActionMenu(selected, playerNearby),
+ }, function(data2, menu2)
+ local action = data2.current.action
+ if action == "return" then
+ menu2.close()
+ return
+ end
+ handleInventoryAction(action, selected, closestPlayer)
+ end, function(_, menu2) menu2.close() end)
+ end, function(_, menu) menu.close() end)
+end
+exports("ShowInventory", showInventory)
+
+ESX.RegisterInput("showinv", TranslateCap("keymap_showinventory"), "keyboard", "F2", function()
+ if not ESX.PlayerData.dead then
+ showInventory()
+ end
+end)
+
+local function refreshInventory()
+ if not ESX.UI.Menu.IsOpen("default", ESX.currentResourceName, "esx_inventory_main") and
+ not ESX.UI.Menu.IsOpen("default", ESX.currentResourceName, "esx_inventory_actions") and
+ not ESX.UI.Menu.IsOpen("dialog", ESX.currentResourceName, "esx_quantity_dialog") then
+ return
+ end
+ Citizen.Wait(0)
+ ESX.UI.Menu.CloseAll()
+ showInventory()
+end
+RegisterNetEvent("esx:addInventoryItem", refreshInventory)
+RegisterNetEvent("esx:removeInventoryItem", refreshInventory)
diff --git a/[core]/esx_inventory/config/main.lua b/[core]/esx_inventory/config/main.lua
new file mode 100644
index 00000000..597c5160
--- /dev/null
+++ b/[core]/esx_inventory/config/main.lua
@@ -0,0 +1,3 @@
+Config = {
+ Locale = "en",
+}
diff --git a/[core]/esx_inventory/fxmanifest.lua b/[core]/esx_inventory/fxmanifest.lua
new file mode 100644
index 00000000..3b1ea9ad
--- /dev/null
+++ b/[core]/esx_inventory/fxmanifest.lua
@@ -0,0 +1,24 @@
+fx_version "cerulean"
+
+game "gta5"
+description "Inventory for the ESX framework"
+lua54 "yes"
+version "1.13.1"
+
+shared_scripts {
+ "/config/main.lua",
+ "@es_extended/imports.lua",
+ "@es_extended/locale.lua",
+}
+
+client_scripts {
+ "/client/main.lua",
+}
+
+server_scripts {
+ "/server/main.lua",
+}
+
+files {
+ "/locales/*.lua"
+}
diff --git a/[core]/esx_inventory/locales/cs.lua b/[core]/esx_inventory/locales/cs.lua
new file mode 100644
index 00000000..aeffb4c7
--- /dev/null
+++ b/[core]/esx_inventory/locales/cs.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventář ( Váha %s / %s )",
+ ["use"] = "Použít",
+ ["give"] = "Darovat",
+ ["remove"] = "Odhodit",
+ ["return"] = "Vrátit",
+ ["give_to"] = "Darováno",
+ ["amount"] = "Počet",
+ ["giveammo"] = "Podat náboje",
+ ["amountammo"] = "Počet nábojů",
+ ["noammo"] = "Nedostatek!",
+ ["gave_item"] = "Daroval %sx %s pro %s",
+ ["received_item"] = "Získáno %sx %s od %s",
+ ["gave_weapon"] = "Předání %s pro %s",
+ ["gave_weapon_ammo"] = "Darování ~o~%sx %s do %s pro %s",
+ ["gave_weapon_withammo"] = "Darování %s s ~o~%sx %s pro %s",
+ ["gave_weapon_hasalready"] = "%s již vlastní %s",
+ ["gave_weapon_noweapon"] = "%s nemá tuto zbraň",
+ ["received_weapon"] = "Obdrženo %s od %s",
+ ["received_weapon_ammo"] = "Obdrženo ~o~%sx %s pro zbraň %s od %s",
+ ["received_weapon_withammo"] = "Obdrženo %s s ~o~%sx %s od %s",
+ ["received_weapon_hasalready"] = "%s se snažil darovat %s, ale již tuto zbraň máš",
+ ["received_weapon_noweapon"] = "%s se snažil ti dát náboje %s, ale nemáš potřebnou zbrań",
+ ["gave_account_money"] = "Darováno $%s (%s) pro %s",
+ ["received_account_money"] = "Získáno $%s (%s) od %s",
+ ["amount_invalid"] = "Špatné množství",
+ ["players_nearby"] = "Žádný hráč není poblíž",
+ ["ex_inv_lim"] = "Nelze sebrat,protože máš plné kapsy %s",
+ ["imp_invalid_quantity"] = "Neplatné množství",
+ ["imp_invalid_amount"] = "Nelze provést, neplatné množství",
+ ["threw_standard"] = "Zahozeno %sx %s",
+ ["threw_account"] = "Zahozeno $%s %s",
+ ["threw_weapon"] = "Zahozeno %s",
+ ["threw_weapon_ammo"] = "Zahozeno %s s ~o~%sx %s",
+ ["threw_weapon_already"] = "Již vlastníš tuto zbraň",
+ ["threw_cannot_pickup"] = "Kapsy máš plné, nemůžeš sebrat!",
+ ["threw_pickup_prompt"] = "Zmáčkni E pro sebrání!",
+ ["keymap_showinventory"] = "Otevřít inventář",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/de.lua b/[core]/esx_inventory/locales/de.lua
new file mode 100644
index 00000000..0f8218c8
--- /dev/null
+++ b/[core]/esx_inventory/locales/de.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventar ( Gewicht %s / %s )",
+ ["use"] = "Benutzen",
+ ["give"] = "Geben",
+ ["remove"] = "Entsorgen",
+ ["return"] = "Zurück",
+ ["give_to"] = "Geben an",
+ ["amount"] = "Anzahl",
+ ["giveammo"] = "Munition geben",
+ ["amountammo"] = "Munitions Anzahl",
+ ["noammo"] = "Nicht Genug!",
+ ["gave_item"] = "Du gibst %sx %s an %s",
+ ["received_item"] = "Du bekommst %sx %s von %s",
+ ["gave_weapon"] = "Du gibst %s an %s",
+ ["gave_weapon_ammo"] = "Du gibst ~o~%sx %s für %s an %s",
+ ["gave_weapon_withammo"] = "Du gibst %s mit ~o~%sx %s an %s",
+ ["gave_weapon_hasalready"] = "%s hat bereits %s",
+ ["gave_weapon_noweapon"] = "%s hat diese Waffe nicht",
+ ["received_weapon"] = "Du bekommst %s von %s",
+ ["received_weapon_ammo"] = "Du bekommst ~o~%sx %s für deine %s von %s",
+ ["received_weapon_withammo"] = "Du bekommst %s mit ~o~%sx %s von %s",
+ ["received_weapon_hasalready"] = "%s hat versucht dir eine %s zu geben, jedoch hast du diese Waffe bereits!",
+ ["received_weapon_noweapon"] = "%s hat versucht dir Munition für eine %s zu geben, jedoch hast du diese Waffe nicht!",
+ ["gave_account_money"] = "Du gibst %s€ (%s) an %s",
+ ["received_account_money"] = "Du bekommst %s€ (%s) von %s",
+ ["amount_invalid"] = "Ungültige Anzahl",
+ ["players_nearby"] = "Keine Personen in der Nähe!",
+ ["ex_inv_lim"] = "Du kannst diese Aktion nicht ausführen!, Inventarlimit für %s überschritten.",
+ ["imp_invalid_quantity"] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl!",
+ ["imp_invalid_amount"] = "Du kannst diese Aktion nicht ausführen!, Ungültige Anzahl",
+ ["threw_standard"] = "Du entsorgst %sx %s",
+ ["threw_account"] = "Du Entsorgst %s€ %s",
+ ["threw_weapon"] = "Du entsorgst %s",
+ ["threw_weapon_ammo"] = "Du entsorgst %s mit ~o~%sx %s",
+ ["threw_weapon_already"] = "Du hast diese Waffe bereits!",
+ ["threw_cannot_pickup"] = "Inventar ist voll! Du kannst dies nicht aufheben",
+ ["threw_pickup_prompt"] = "Drücke [E] zum aufheben",
+ ["keymap_showinventory"] = "Inventar Anzeigen",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/el.lua b/[core]/esx_inventory/locales/el.lua
new file mode 100644
index 00000000..ea62899e
--- /dev/null
+++ b/[core]/esx_inventory/locales/el.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Αποθήκη ( Βάρος %s / %s )",
+ ["use"] = "Χρήση",
+ ["give"] = "Δώσε",
+ ["remove"] = "Πέτα",
+ ["return"] = "Επιστροφή",
+ ["give_to"] = "Δώσε σε",
+ ["amount"] = "Ποσότητα",
+ ["giveammo"] = "Δώσε σφαίρες",
+ ["amountammo"] = "Ποσότητα σφαιρών",
+ ["noammo"] = "Δεν υπάρχουν αρκετές σφαίρες!",
+ ["gave_item"] = "Δώσατε %sx %s στον/στην %s",
+ ["received_item"] = "Λάβατε %sx %s από τον/την %s",
+ ["gave_weapon"] = "Δίνετε %s στον/στην %s",
+ ["gave_weapon_ammo"] = "Δίνετε ~o~%sx %s για %s στον/στην %s",
+ ["gave_weapon_withammo"] = "Δίνετε %s με ~o~%sx %s στον/στην %s",
+ ["gave_weapon_hasalready"] = "Ο/Η %s έχει ήδη ένα %s",
+ ["gave_weapon_noweapon"] = "Ο/Η %s δεν έχει αυτό το όπλο",
+ ["received_weapon"] = "Λάβατε %s από τον/την %s",
+ ["received_weapon_ammo"] = "Λάβατε ~o~%sx %s για το %s από τον/την %s",
+ ["received_weapon_withammo"] = "Λάβατε %s για ~o~%sx %s από τον/την %s",
+ ["received_weapon_hasalready"] = "Ο/Η %s προσπάθησε να σας δώσει ένα %s, αλλά το έχετε ήδη",
+ ["received_weapon_noweapon"] = "Ο/Η %s προσπάθησε να σας δώσει σφαίρες για το %s, αλλά δεν έχετε αυτό το όπλο",
+ ["gave_account_money"] = "Δίνετε $%s (%s) στον/στην %s",
+ ["received_account_money"] = "Λάβατε $%s (%s) από τον/την %s",
+ ["amount_invalid"] = "Μη έγκυρη ποσότητα",
+ ["players_nearby"] = "Δεν υπάρχουν κοντινοί παίκτες",
+ ["ex_inv_lim"] = "Δεν είναι δυνατή η ενέργεια, υπέρβαση του μέγιστου βάρους των %s",
+ ["imp_invalid_quantity"] = "Δεν είναι δυνατή η ενέργεια, η ποσότητα δεν είναι έγκυρη",
+ ["imp_invalid_amount"] = "Δεν είναι δυνατή η ενέργεια, το ποσό δεν είναι έγκυρο",
+ ["threw_standard"] = "Ρίχνοντας %sx %s",
+ ["threw_account"] = "Ρίχνοντας $%s %s",
+ ["threw_weapon"] = "Ρίχνοντας %s",
+ ["threw_weapon_ammo"] = "Ρίχνοντας %s με ~o~%sx %s",
+ ["threw_weapon_already"] = "Ήδη έχετε αυτό το όπλο",
+ ["threw_cannot_pickup"] = "Η αποθήκη είναι γεμάτη, δεν μπορείτε να σηκώσετε!",
+ ["threw_pickup_prompt"] = "Πατήστε E για να σηκώσετε",
+ ["keymap_showinventory"] = "Εμφάνιση Αποθήκης",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/en.lua b/[core]/esx_inventory/locales/en.lua
new file mode 100644
index 00000000..ba7bffce
--- /dev/null
+++ b/[core]/esx_inventory/locales/en.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventory ( Weight %s / %s )",
+ ["use"] = "Use",
+ ["give"] = "Give",
+ ["remove"] = "Throw",
+ ["return"] = "Return",
+ ["give_to"] = "Give to",
+ ["amount"] = "Amount",
+ ["giveammo"] = "Give ammo",
+ ["amountammo"] = "Ammo Amount",
+ ["noammo"] = "Not Enough!",
+ ["gave_item"] = "Giving %sx %s to %s",
+ ["received_item"] = "Received %sx %s from %s",
+ ["gave_weapon"] = "Giving %s to %s",
+ ["gave_weapon_ammo"] = "Giving ~o~%sx %s for %s to %s",
+ ["gave_weapon_withammo"] = "Giving %s with ~o~%sx %s to %s",
+ ["gave_weapon_hasalready"] = "%s already has a %s",
+ ["gave_weapon_noweapon"] = "%s does not have that weapon",
+ ["received_weapon"] = "Received %s from %s",
+ ["received_weapon_ammo"] = "Received ~o~%sx %s for your %s from %s",
+ ["received_weapon_withammo"] = "Received %s with ~o~%sx %s from %s",
+ ["received_weapon_hasalready"] = "%s has attempted to give you a %s, but you already this weapon",
+ ["received_weapon_noweapon"] = "%s has attempted to give you ammo for a %s, but you do not have this weapon",
+ ["gave_account_money"] = "Giving $%s (%s) to %s",
+ ["received_account_money"] = "Received $%s (%s) from %s",
+ ["amount_invalid"] = "Invalid quantity",
+ ["players_nearby"] = "No nearby Players",
+ ["ex_inv_lim"] = "Cannot perfom action,exceeding max weight of %s",
+ ["imp_invalid_quantity"] = "Cannot perfom action, the quantity is invalid",
+ ["imp_invalid_amount"] = "Cannot perfom action, the amount is invalid",
+ ["threw_standard"] = "Throwing %sx %s",
+ ["threw_account"] = "Throwing $%s %s",
+ ["threw_weapon"] = "Throwing %s",
+ ["threw_weapon_ammo"] = "Throwing %s with ~o~%sx %s",
+ ["threw_weapon_already"] = "You already have this weapon",
+ ["threw_cannot_pickup"] = "Inventory is full, Cannot Pickup!",
+ ["threw_pickup_prompt"] = "Press E to Pickup",
+ ["keymap_showinventory"] = "Show Inventory",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/es.lua b/[core]/esx_inventory/locales/es.lua
new file mode 100644
index 00000000..9e529a90
--- /dev/null
+++ b/[core]/esx_inventory/locales/es.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventario (Peso %s / %s)",
+ ["use"] = "Usar",
+ ["give"] = "Dar",
+ ["remove"] = "Tirar",
+ ["return"] = "Devolver",
+ ["give_to"] = "Dar a",
+ ["amount"] = "Cantidad",
+ ["giveammo"] = "Dar munición",
+ ["amountammo"] = "Cantidad de munición",
+ ["noammo"] = "¡Insuficiente!",
+ ["gave_item"] = "Dando %sx %s a %s",
+ ["received_item"] = "Recibido %sx %s de %s",
+ ["gave_weapon"] = "Dando %s a %s",
+ ["gave_weapon_ammo"] = "Dando ~o~%sx %s para %s a %s",
+ ["gave_weapon_withammo"] = "Dando %s con ~o~%sx %s a %s",
+ ["gave_weapon_hasalready"] = "%s ya tiene un %s",
+ ["gave_weapon_noweapon"] = "%s no tiene esa arma",
+ ["received_weapon"] = "Recibido %s de %s",
+ ["received_weapon_ammo"] = "Recibido ~o~%sx %s para tu %s de %s",
+ ["received_weapon_withammo"] = "Recibido %s con ~o~%sx %s de %s",
+ ["received_weapon_hasalready"] = "%s ha intentado darte un %s, pero ya tienes esta arma",
+ ["received_weapon_noweapon"] = "%s ha intentado darte munición para un %s, pero no tienes esta arma",
+ ["gave_account_money"] = "Dando $%s (%s) a %s",
+ ["received_account_money"] = "Recibido $%s (%s) de %s",
+ ["amount_invalid"] = "Cantidad inválida",
+ ["players_nearby"] = "No hay jugadores cerca",
+ ["ex_inv_lim"] = "No se puede realizar la acción, se excede el peso máximo de %s",
+ ["imp_invalid_quantity"] = "No se puede realizar la acción, la cantidad es inválida",
+ ["imp_invalid_amount"] = "No se puede realizar la acción, la cantidad es inválida",
+ ["threw_standard"] = "Tirando %sx %s",
+ ["threw_account"] = "Tirando $%s %s",
+ ["threw_weapon"] = "Tirando %s",
+ ["threw_weapon_ammo"] = "Tirando %s con ~o~%sx %s",
+ ["threw_weapon_already"] = "Ya tienes esta arma",
+ ["threw_cannot_pickup"] = "¡Inventario lleno, no se puede recoger!",
+ ["threw_pickup_prompt"] = "Pulsa E para recoger",
+ ["keymap_showinventory"] = "Mostrar inventario",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/fi.lua b/[core]/esx_inventory/locales/fi.lua
new file mode 100644
index 00000000..5c30439d
--- /dev/null
+++ b/[core]/esx_inventory/locales/fi.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Reppu %s / %s",
+ ["use"] = "Käytä",
+ ["give"] = "Anna",
+ ["remove"] = "Poista",
+ ["return"] = "Takaisin",
+ ["give_to"] = "Anna henkilölle",
+ ["amount"] = "Määrä",
+ ["giveammo"] = "Anna ammuksia",
+ ["amountammo"] = "Ammusten määrä",
+ ["noammo"] = "Sinulla ei ole ammuksia!",
+ ["gave_item"] = "Sinä annoit %sx %s henkilölle %s",
+ ["received_item"] = "Sinä sait %sx %s henkilöltä %s",
+ ["gave_weapon"] = "Sinä annoit 1x %s henkilölle %s",
+ ["gave_weapon_ammo"] = "Annoit ~o~%sx %s kohteelle %s henkilölle %s",
+ ["gave_weapon_withammo"] = "Sinä annoit 1x %s ammuksella ~o~%sx %s henkilölle %s",
+ ["gave_weapon_hasalready"] = "%s omistaa jo %s",
+ ["gave_weapon_noweapon"] = "%s ei ole kyseistä asetta",
+ ["received_weapon"] = "Vastaanotit 1x %s henkilöltä %s",
+ ["received_weapon_ammo"] = "Sinä sait ~o~%sx %s sinun %s varten henkilöltä %s",
+ ["received_weapon_withammo"] = "Sinä sait 1x %s ammuksella ~o~%sx %s henkilöltä %s",
+ ["received_weapon_hasalready"] = "%s yritti antaa sinulle %s, mutta sinulla on jo sellainen",
+ ["received_weapon_noweapon"] = "%s yritti antaa sinulle ammuksia %s:lle, mutta sinulla ei ole sellaista",
+ ["gave_account_money"] = "Sinä annoit $%s (%s) henkilölle %s",
+ ["received_account_money"] = "Sinä sait $%s (%s) henkilöltä %s",
+ ["amount_invalid"] = "Virheellinen määrä",
+ ["players_nearby"] = "Ei pelaajia lähettyvillä",
+ ["ex_inv_lim"] = "Toiminto mahdoton, reppu alkaa olla täysi %s",
+ ["imp_invalid_quantity"] = "Toiminto mahdoton, virheellinen määrä",
+ ["imp_invalid_amount"] = "Toiminto mahdoton, virhellinen summa",
+ ["threw_standard"] = "Sinä heitit %sx %s",
+ ["threw_account"] = "Sinä heitit $%s %s",
+ ["threw_weapon"] = "Sinä heitit 1x %s",
+ ["threw_weapon_ammo"] = "Heitit 1x %s ammuksella ~o~%sx %s",
+ ["threw_weapon_already"] = "Sinulla on jo sama ase",
+ ["threw_cannot_pickup"] = "Et voi kerätä sitä, koska reppusi on täynnä",
+ ["threw_pickup_prompt"] = "Paina E kerätäksesi",
+ ["keymap_showinventory"] = "Avaa reppu",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/fr.lua b/[core]/esx_inventory/locales/fr.lua
new file mode 100644
index 00000000..78f7ceac
--- /dev/null
+++ b/[core]/esx_inventory/locales/fr.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventaire ( Poids %s / %s )",
+ ["use"] = "Utiliser",
+ ["give"] = "Donner",
+ ["remove"] = "Jeter",
+ ["return"] = "Retour",
+ ["give_to"] = "Donner à",
+ ["amount"] = "Quantité",
+ ["giveammo"] = "Donner des munitions",
+ ["amountammo"] = "Nombre de munitions",
+ ["noammo"] = "Vous n'avez pas autant de munitions!",
+ ["gave_item"] = "Vous avez donné %sx %s à %s",
+ ["received_item"] = "Vous avez reçu %sx %s de %s",
+ ["gave_weapon"] = "Vous avez donné 1x %s à %s",
+ ["gave_weapon_ammo"] = "Vous avez donné ~o~%sx %s pour %s à %s",
+ ["gave_weapon_withammo"] = "Vous avez donné 1x %s avec ~o~%sx %s à %s",
+ ["gave_weapon_hasalready"] = "%s a déjà 1x %s",
+ ["gave_weapon_noweapon"] = "%s n'a pas cette arme",
+ ["received_weapon"] = "Vous avez reçu 1x %s de %s",
+ ["received_weapon_ammo"] = "Vous avez reçu ~o~%sx %s pour votre %s de %s",
+ ["received_weapon_withammo"] = "Vous avez reçu 1x %s avec ~o~%sx %s de %s",
+ ["received_weapon_hasalready"] = "%s a tenté de vous donner 1x %s, mais vous en aviez déjà un exemplaire",
+ ["received_weapon_noweapon"] = "%s a tenté de vous donner des munitions pour %s, mais vous n'avez pas cette arme",
+ ["gave_account_money"] = "Vous avez donné $%s (%s) à %s",
+ ["received_account_money"] = "Vous avez reçu $%s (%s) de %s",
+ ["amount_invalid"] = "Le montant est invalide",
+ ["players_nearby"] = "Aucun joueur n'est à proximité",
+ ["ex_inv_lim"] = "Action impossible, dépassement du poids maximum de %s",
+ ["imp_invalid_quantity"] = "Action impossible, la quantité est invalide",
+ ["imp_invalid_amount"] = "Action impossible, le montant est invalide",
+ ["threw_standard"] = "Vous avez jeté %sx %s",
+ ["threw_account"] = "Vous avez jeté $%s %s",
+ ["threw_weapon"] = "Vous avez jeté 1x %s",
+ ["threw_weapon_ammo"] = "Vous avez jeté 1x %s avec ~o~%sx %s",
+ ["threw_weapon_already"] = "Vous avez déjà cette arme",
+ ["threw_cannot_pickup"] = "Votre inventaire est plein, vous ne pouvez donc pas ramasser cela!",
+ ["threw_pickup_prompt"] = "Appuyez sur E pour ramasser",
+ ["keymap_showinventory"] = "Afficher l'inventaire",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/he.lua b/[core]/esx_inventory/locales/he.lua
new file mode 100644
index 00000000..3d62c0b3
--- /dev/null
+++ b/[core]/esx_inventory/locales/he.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "מלאי ( משקל %s / %s )",
+ ["use"] = "השתמש",
+ ["give"] = "תן",
+ ["remove"] = "זרוק",
+ ["return"] = "חזור",
+ ["give_to"] = "תן ל",
+ ["amount"] = "כמות",
+ ["giveammo"] = "תן תחמושת",
+ ["amountammo"] = "כמות תחמושת",
+ ["noammo"] = "לא מספיק!",
+ ["gave_item"] = "ניתן %sx %s ל %s",
+ ["received_item"] = "קיבלת %sx %s מ %s",
+ ["gave_weapon"] = "ניתן %s ל %s",
+ ["gave_weapon_ammo"] = "ניתן ~o~%sx %s ל %s ל %s",
+ ["gave_weapon_withammo"] = "ניתן %s עם ~o~%sx %s ל %s",
+ ["gave_weapon_hasalready"] = "%s כבר יש לו %s",
+ ["gave_weapon_noweapon"] = "%s אין לו את הנשק הזה",
+ ["received_weapon"] = "קיבלת %s מ %s",
+ ["received_weapon_ammo"] = "קיבלת ~o~%sx %s ל %s שלך מ %s",
+ ["received_weapon_withammo"] = "קיבלת %s עם ~o~%sx %s מ %s",
+ ["received_weapon_hasalready"] = "%s ניסה לתת לך %s, אך יש לך כבר נשק זה",
+ ["received_weapon_noweapon"] = "%s ניסה לתת לך תחמושת ל %s, אך אין לך נשק זה",
+ ["gave_account_money"] = "ניתן $%s (%s) ל %s",
+ ["received_account_money"] = "קיבלת $%s (%s) מ %s",
+ ["amount_invalid"] = "כמות לא חוקית",
+ ["players_nearby"] = "אין שחקנים קרובים",
+ ["ex_inv_lim"] = "לא ניתן לבצע פעולה, חורג מהמשקל המרבי של %s",
+ ["imp_invalid_quantity"] = "לא ניתן לבצע פעולה, הכמות אינה חוקית",
+ ["imp_invalid_amount"] = "לא ניתן לבצע פעולה, הסכום אינו חוקי",
+ ["threw_standard"] = "זורק %sx %s",
+ ["threw_account"] = "זורק $%s %s",
+ ["threw_weapon"] = "זורק %s",
+ ["threw_weapon_ammo"] = "זורק %s עם ~o~%sx %s",
+ ["threw_weapon_already"] = "כבר יש לך נשק זה",
+ ["threw_cannot_pickup"] = "המלאי מלא, לא ניתן לאסוף!",
+ ["threw_pickup_prompt"] = "לחץ E כדי לאסוף",
+ ["keymap_showinventory"] = "הצג מלאי",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/hu.lua b/[core]/esx_inventory/locales/hu.lua
new file mode 100644
index 00000000..64338675
--- /dev/null
+++ b/[core]/esx_inventory/locales/hu.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventory ( Súly %s / %s )",
+ ["use"] = "Használ",
+ ["give"] = "Átad",
+ ["remove"] = "Eldob",
+ ["return"] = "Visszatérés",
+ ["give_to"] = "Adni valakinek",
+ ["amount"] = "Mennyiség",
+ ["giveammo"] = "Lőszer adás",
+ ["amountammo"] = "Lőszer mennyiség",
+ ["noammo"] = "Nincsen több lövedéked!",
+ ["gave_item"] = "Átadtál: %sx %s neki: %s",
+ ["received_item"] = "Kaptál: %sx %s töle: %s",
+ ["gave_weapon"] = "Átadtál: %s neki: %s",
+ ["gave_weapon_ammo"] = "Átadtál ~o~%sx %s %s neki: %s",
+ ["gave_weapon_withammo"] = "Átadtál %s ~o~%sx %s neki: %s",
+ ["gave_weapon_hasalready"] = "%s már rendelkezik %s",
+ ["gave_weapon_noweapon"] = "%s nincsen ilyen fegyere",
+ ["received_weapon"] = "Kaptál: %s töle: %s",
+ ["received_weapon_ammo"] = "Kaptál ~o~%sx %s %s töle: %s",
+ ["received_weapon_withammo"] = "Kaptál %s ~o~%sx %s töle: %s",
+ ["received_weapon_hasalready"] = "%s megpróbálta átadni a következöt: %s, nem már van rendelkezel egy ilyennel",
+ ["received_weapon_noweapon"] = "%s átakart adni %s, de nincsen ilyen fegyvered",
+ ["gave_account_money"] = "Átadtál: $%s (%s) neki: %s",
+ ["received_account_money"] = "Kaptál: $%s (%s) töle: %s",
+ ["amount_invalid"] = "Érvénytelen mennyiség",
+ ["players_nearby"] = "Nincsen játékos a közeledben",
+ ["ex_inv_lim"] = "Nincsen elég szabad helyed %s",
+ ["imp_invalid_quantity"] = "Érvénytelen mennyiség",
+ ["imp_invalid_amount"] = "Érvénytelen összeg",
+ ["threw_standard"] = "Kidobtál: %sx %s",
+ ["threw_account"] = "Kidobtál: $%s %s",
+ ["threw_weapon"] = "Kidobtál: %s",
+ ["threw_weapon_ammo"] = "Kidobtál: %s ~o~%sx %s",
+ ["threw_weapon_already"] = "Van már ilyen fegyvered",
+ ["threw_cannot_pickup"] = "Nincsen elég szabad helyed",
+ ["threw_pickup_prompt"] = "E hogy felvedd",
+ ["keymap_showinventory"] = "Leltár mutatása",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/id.lua b/[core]/esx_inventory/locales/id.lua
new file mode 100644
index 00000000..941119ab
--- /dev/null
+++ b/[core]/esx_inventory/locales/id.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventaris ( Berat %s / %s )",
+ ["use"] = "Gunakan",
+ ["give"] = "Beri",
+ ["remove"] = "Buang",
+ ["return"] = "Kembali",
+ ["give_to"] = "Beri ke",
+ ["amount"] = "Jumlah",
+ ["giveammo"] = "Beri amunisi",
+ ["amountammo"] = "Jumlah Amunisi",
+ ["noammo"] = "Tidak cukup!",
+ ["gave_item"] = "Memberi %sx %s ke %s",
+ ["received_item"] = "Menerima %sx %s dari %s",
+ ["gave_weapon"] = "Memberi %s ke %s",
+ ["gave_weapon_ammo"] = "Memberi ~o~%sx %s untuk %s ke %s",
+ ["gave_weapon_withammo"] = "Memberi %s dengan ~o~%sx %s ke %s",
+ ["gave_weapon_hasalready"] = "%s sudah memiliki %s",
+ ["gave_weapon_noweapon"] = "%s tidak memiliki senjata tersebut",
+ ["received_weapon"] = "Menerima %s dari %s",
+ ["received_weapon_ammo"] = "Menerima ~o~%sx %s untuk %s Anda dari %s",
+ ["received_weapon_withammo"] = "Menerima %s dengan ~o~%sx %s dari %s",
+ ["received_weapon_hasalready"] = "%s mencoba memberimu %s, tapi kamu sudah memiliki senjata ini",
+ ["received_weapon_noweapon"] = "%s mencoba memberimu amunisi untuk %s, tapi kamu tidak memiliki senjata ini",
+ ["gave_account_money"] = "Memberi $%s (%s) ke %s",
+ ["received_account_money"] = "Menerima $%s (%s) dari %s",
+ ["amount_invalid"] = "Jumlah salah",
+ ["players_nearby"] = "Tidak ada Player di sekitar",
+ ["ex_inv_lim"] = "Tidak dapat melakukan aksi, melebihi batas berat dari %s",
+ ["imp_invalid_quantity"] = "Tidak dapat melakukan aksi, jumlah salah",
+ ["imp_invalid_amount"] = "Tidak dapat melakukan aksi, jumlah salah",
+ ["threw_standard"] = "Membuang %sx %s",
+ ["threw_account"] = "Membuang $%s %s",
+ ["threw_weapon"] = "Membuang %s",
+ ["threw_weapon_ammo"] = "Membuang %s dengan ~o~%sx %s",
+ ["threw_weapon_already"] = "Kamu sudah memiliki senjata ini",
+ ["threw_cannot_pickup"] = "Inventaris penuh, Tidak dapat mengambil!",
+ ["threw_pickup_prompt"] = "Tekan E untuk Mengambil",
+ ["keymap_showinventory"] = "Buka Inventaris",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/it.lua b/[core]/esx_inventory/locales/it.lua
new file mode 100644
index 00000000..e8f44d4b
--- /dev/null
+++ b/[core]/esx_inventory/locales/it.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventario ( Peso %s / %s )",
+ ["use"] = "Usa",
+ ["give"] = "Dai",
+ ["remove"] = "Butta",
+ ["return"] = "Ritorna",
+ ["give_to"] = "Dai a",
+ ["amount"] = "Quantità",
+ ["giveammo"] = "Dai munizioni",
+ ["amountammo"] = "Quantità munizioni",
+ ["noammo"] = "Non abbastanza!",
+ ["gave_item"] = "Dando %sx %s a %s",
+ ["received_item"] = "Ricevuto %sx %s da %s",
+ ["gave_weapon"] = "Dando %s a %s",
+ ["gave_weapon_ammo"] = "Dando ~o~%sx %s for %s to %s",
+ ["gave_weapon_withammo"] = "Dando %s con ~o~%sx %s a %s",
+ ["gave_weapon_hasalready"] = "%s possiede già %s",
+ ["gave_weapon_noweapon"] = "%s non ha quell' arma",
+ ["received_weapon"] = "Ricevuto %s da %s",
+ ["received_weapon_ammo"] = "Ricevuto ~o~%sx %s per il tuo %s da %s",
+ ["received_weapon_withammo"] = "Ricevuto %s con ~o~%sx %s per %s",
+ ["received_weapon_hasalready"] = "%s ha tentato di darti %s, ma hai già l'arma",
+ ["received_weapon_noweapon"] = "%s ha tentato di darti munizioni per %s, ma non hai l'arma",
+ ["gave_account_money"] = "Dando $%s (%s) a %s",
+ ["received_account_money"] = "Ricevuto $%s (%s) da %s",
+ ["amount_invalid"] = "Quantità non valida",
+ ["players_nearby"] = "Nessun giocatore vicino",
+ ["ex_inv_lim"] = "Non puoi farlo, eccedi il peso di %s",
+ ["imp_invalid_quantity"] = "Non puoi farlo, quantità non valida",
+ ["imp_invalid_amount"] = "Non puoi farlo, importo non valido",
+ ["threw_standard"] = "Gettando %sx %s",
+ ["threw_account"] = "Gettando $%s %s",
+ ["threw_weapon"] = "Gettando %s",
+ ["threw_weapon_ammo"] = "Gettando %s con ~o~%sx %s",
+ ["threw_weapon_already"] = "Hai gia quest' arma",
+ ["threw_cannot_pickup"] = "Inventario pieno, non puoi raccogliere!",
+ ["threw_pickup_prompt"] = "Premi E per raccogliere",
+ ["keymap_showinventory"] = "Apri inventario",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/nl.lua b/[core]/esx_inventory/locales/nl.lua
new file mode 100644
index 00000000..f646dc7f
--- /dev/null
+++ b/[core]/esx_inventory/locales/nl.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventaris ( Gewicht %s / %s )",
+ ["use"] = "Gebruik",
+ ["give"] = "Geef",
+ ["remove"] = "Gooi",
+ ["return"] = "Terug",
+ ["give_to"] = "Geef aan",
+ ["amount"] = "Aantal",
+ ["giveammo"] = "Geef munitie",
+ ["amountammo"] = "Hoeveelheid munitie",
+ ["noammo"] = "Niet genoeg munitie!",
+ ["gave_item"] = "%sx %s gegeven aan %s",
+ ["received_item"] = "%sx %s ontvangen van %s",
+ ["gave_weapon"] = "%s gegeven aan %s",
+ ["gave_weapon_ammo"] = "~o~%sx %s gegeven voor een %s aan %s",
+ ["gave_weapon_withammo"] = "%s gegeven met ~o~%sx %s aan %s",
+ ["gave_weapon_hasalready"] = "%s heeft al een %s",
+ ["gave_weapon_noweapon"] = "%s heeft dat wapen niet",
+ ["received_weapon"] = "%s ontvangen van %s",
+ ["received_weapon_ammo"] = "~o~%sx %s ontvangen voor je %s van %s",
+ ["received_weapon_withammo"] = "%s ontvangen met ~o~%sx %s van %s",
+ ["received_weapon_hasalready"] = "%s heeft geprobeerd je een %s te geven, maar je hebt dat wapen al.",
+ ["received_weapon_noweapon"] = "%s heeft geprobeerd je ammo te geven voor een %s, maar je hebt dit wapen niet",
+ ["gave_account_money"] = "€%s (%s) gegeven aan %s",
+ ["received_account_money"] = "€%s (%s) ontvangen van %s",
+ ["amount_invalid"] = "Ongeldige hoeveelheid",
+ ["players_nearby"] = "Geen spelers in de buurt",
+ ["ex_inv_lim"] = "Kan actie niet uitvoeren, overschrijdt max. gewicht van %s",
+ ["imp_invalid_quantity"] = "Kan actie niet uitvoeren, de hoeveelheid is ongeldig",
+ ["imp_invalid_amount"] = "Kan actie niet uitvoeren, het aantal is ongeldig",
+ ["threw_standard"] = "%sx %s weggegooid",
+ ["threw_account"] = "€%s %s weggegooid",
+ ["threw_weapon"] = "%s weggegooid",
+ ["threw_weapon_ammo"] = "%s met ~o~%sx %s weggegooid",
+ ["threw_weapon_already"] = "Je hebt dit wapen al !",
+ ["threw_cannot_pickup"] = "Inventaris is vol, je kan dit niet oppakken!",
+ ["threw_pickup_prompt"] = "Druk op E om op te pakken",
+ ["keymap_showinventory"] = "Laat inventaris zien",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/pl.lua b/[core]/esx_inventory/locales/pl.lua
new file mode 100644
index 00000000..d808c843
--- /dev/null
+++ b/[core]/esx_inventory/locales/pl.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "ekwipunek %s / %s",
+ ["use"] = "użyj",
+ ["give"] = "daj",
+ ["remove"] = "usuń",
+ ["return"] = "wróć",
+ ["give_to"] = "daj dla",
+ ["amount"] = "ilość",
+ ["giveammo"] = "daj amunicje",
+ ["amountammo"] = "ilość amunicji",
+ ["noammo"] = "nie posiadasz wystarczającej ilości amunicji!",
+ ["gave_item"] = "dałeś/aś %sx %s dla %s",
+ ["received_item"] = "otrzymałeś/aś %sx %s od %s",
+ ["gave_weapon"] = "dałeś/aś %s dla %s",
+ ["gave_weapon_ammo"] = "dałeś/aś ~o~%sx %s do %s dla %s",
+ ["gave_weapon_withammo"] = "dałeś/aś %s z ~o~%sx %s dla %s",
+ ["gave_weapon_hasalready"] = "%s już posiada %s",
+ ["gave_weapon_noweapon"] = "%s nie posiada tej broni",
+ ["received_weapon"] = "otrzymałeś/aś %s od %s",
+ ["received_weapon_ammo"] = "otrzymałeś/aś ~o~%sx %s do twojego %s od %s",
+ ["received_weapon_withammo"] = "otrzymałeś/aś %s z ~o~%sx %s od %s",
+ ["received_weapon_hasalready"] = "%s próbował/a przekazać ci %s, lecz już posiadasz jedno",
+ ["received_weapon_noweapon"] = "%s próbował/a przekazać ci amunicje do %s, lecz nie posiadasz tej broni",
+ ["gave_account_money"] = "dałeś/aś %s$ (%s) dla %s",
+ ["received_account_money"] = "otrzymałeś/aś %s$ (%s) od %s",
+ ["amount_invalid"] = "nieprawidłowa ilość",
+ ["players_nearby"] = "brak graczy w pobliżu",
+ ["ex_inv_lim"] = "akcja nie jest możliwa, nie możesz mieć więcej %s",
+ ["imp_invalid_quantity"] = "akcja jest niemożliwa, nieprawidłowa ilość",
+ ["imp_invalid_amount"] = "akcja jest niemożliwa, nieprawidłowa kwota",
+ ["threw_standard"] = "wyrzuciłeś/aś %sx %s",
+ ["threw_account"] = "wyrzuciłeś/aś $%s %s",
+ ["threw_weapon"] = "wyrzuciłeś/aś %s",
+ ["threw_weapon_ammo"] = "wyrzuciłeś/aś %s z ~o~%sx %s",
+ ["threw_weapon_already"] = "już posiadasz taką samą broń",
+ ["threw_cannot_pickup"] = "nie możesz tego podnieść, gdyż masz pełny ekwipunek!",
+ ["threw_pickup_prompt"] = "naciśnij E aby podnieść",
+ ["keymap_showinventory"] = "pokaż ekwipunek",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/sl.lua b/[core]/esx_inventory/locales/sl.lua
new file mode 100644
index 00000000..ee6a354c
--- /dev/null
+++ b/[core]/esx_inventory/locales/sl.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Shramba ( Teza %s / %s )",
+ ["use"] = "Uporabi",
+ ["give"] = "Daj",
+ ["remove"] = "Vrzi",
+ ["return"] = "Povratek",
+ ["give_to"] = "Daj",
+ ["amount"] = "Vsota",
+ ["giveammo"] = "Daj Strelivo",
+ ["amountammo"] = "Količina streliva",
+ ["noammo"] = "Ni dovolj!",
+ ["gave_item"] = "Dal si %sx %s k %s",
+ ["received_item"] = "Dobil si %sx %s od %s",
+ ["gave_weapon"] = "Dajanje %s do %s",
+ ["gave_weapon_ammo"] = "Dajanje ~o~%sx %s za %s do %s",
+ ["gave_weapon_withammo"] = "Dajanje %s z ~o~%sx %s do %s",
+ ["gave_weapon_hasalready"] = "%s ze ima %s",
+ ["gave_weapon_noweapon"] = "%s se nima tega orozja",
+ ["received_weapon"] = "Dobil si %s od %s",
+ ["received_weapon_ammo"] = "Dobil ~o~%sx %s za tvoj/o %s od %s",
+ ["received_weapon_withammo"] = "Dobil si %s z ~o~%sx %s od %s",
+ ["received_weapon_hasalready"] = "%s vam je poskušal dati %s, vendar že imate to orožje",
+ ["received_weapon_noweapon"] = "%s vam je poskušal dati strelivo za %s, vendar nimate tega orožja",
+ ["gave_account_money"] = "Dajanje $%s (%s) do %s",
+ ["received_account_money"] = "Dobil $%s (%s) od %s",
+ ["amount_invalid"] = "Neveljavna količina",
+ ["players_nearby"] = "V blizini ni ljudi",
+ ["ex_inv_lim"] = "Dejanja ni mogoče izvesti, saj presega največjo težo %s",
+ ["imp_invalid_quantity"] = "Dejanja ni mogoče izvesti, količina je neveljavna",
+ ["imp_invalid_amount"] = "Dejanja ni mogoče izvesti, znesek je neveljaven",
+ ["threw_standard"] = "Metanje %sx %s",
+ ["threw_account"] = "Metanje $%s %s",
+ ["threw_weapon"] = "Metanje %s",
+ ["threw_weapon_ammo"] = "Metanje %s z ~o~%sx %s",
+ ["threw_weapon_already"] = "Ti ze imas to orozje",
+ ["threw_cannot_pickup"] = "Shramba je poln, nemorem pobrati!",
+ ["threw_pickup_prompt"] = "Pritisni E da poberes",
+ ["keymap_showinventory"] = "Pokazi Shrambo",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/sr.lua b/[core]/esx_inventory/locales/sr.lua
new file mode 100644
index 00000000..f3675b2b
--- /dev/null
+++ b/[core]/esx_inventory/locales/sr.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventar ( Težina %s / %s )",
+ ["use"] = "Koristi",
+ ["give"] = "Daj",
+ ["remove"] = "Baci",
+ ["return"] = "Nazad",
+ ["give_to"] = "Daj",
+ ["amount"] = "Količina",
+ ["giveammo"] = "Daj municiju",
+ ["amountammo"] = "Količina municije",
+ ["noammo"] = "Nemate dovoljno!",
+ ["gave_item"] = "Davanje %sx %s igraču %s",
+ ["received_item"] = "Dobijeno %sx %s od %s",
+ ["gave_weapon"] = "Davanje %s igraču %s",
+ ["gave_weapon_ammo"] = "Davanje ~o~%sx %s za %s igraču %s",
+ ["gave_weapon_withammo"] = "Davanje %s sa ~o~%sx %s igraču %s",
+ ["gave_weapon_hasalready"] = "%s već ima %s",
+ ["gave_weapon_noweapon"] = "%s nema to oružje",
+ ["received_weapon"] = "Dobijeno %s od %s",
+ ["received_weapon_ammo"] = "Dobijeno ~o~%sx %s za vaš %s od %s",
+ ["received_weapon_withammo"] = "Dobijeno %s sa ~o~%sx %s od %s",
+ ["received_weapon_hasalready"] = "%s je pokušao da Vam da %s, ali vi već imate to oružje",
+ ["received_weapon_noweapon"] = "%s je pokušao da Vam da municiju za %s, ali vi nemate to oružje",
+ ["gave_account_money"] = "Davanje $%s (%s) igraču %s",
+ ["received_account_money"] = "Dobijeno $%s (%s) od %s",
+ ["amount_invalid"] = "Nevažeća količina",
+ ["players_nearby"] = "Nema igrača u blizini",
+ ["ex_inv_lim"] = "Ne možete uraditi to, premašuje max težinu od %s",
+ ["imp_invalid_quantity"] = "Nevažeća količina",
+ ["imp_invalid_amount"] = "Nevažeći iznos",
+ ["threw_standard"] = "Bacanje %sx %s",
+ ["threw_account"] = "Bacanje $%s %s",
+ ["threw_weapon"] = "Bacanje %s",
+ ["threw_weapon_ammo"] = "Bacanje %s sa ~o~%sx %s",
+ ["threw_weapon_already"] = "Vi već imate to oružje",
+ ["threw_cannot_pickup"] = "Inventar je pun, ne možete pokupiti to!",
+ ["threw_pickup_prompt"] = "Pritisni E da pokupiš",
+ ["keymap_showinventory"] = "Otvaranje inventara",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/sv.lua b/[core]/esx_inventory/locales/sv.lua
new file mode 100644
index 00000000..3e44d09b
--- /dev/null
+++ b/[core]/esx_inventory/locales/sv.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Inventory ( Vikt %s / %s )",
+ ["use"] = "Använd",
+ ["give"] = "Ge",
+ ["remove"] = "Kasta",
+ ["return"] = "Tillbaka",
+ ["give_to"] = "Ge",
+ ["amount"] = "Antal",
+ ["giveammo"] = "Ge skott",
+ ["amountammo"] = "Antal skott",
+ ["noammo"] = "Inte tillräckligt!",
+ ["gave_item"] = "Ger %sx %s till %s",
+ ["received_item"] = "Mottog %sx %s från %s",
+ ["gave_weapon"] = "Ger %s till %s",
+ ["gave_weapon_ammo"] = "Ger ~o~%sx %s för %s till %s",
+ ["gave_weapon_withammo"] = "Ger %s med ~o~%sx %s till %s",
+ ["gave_weapon_hasalready"] = "%s har redan en %s",
+ ["gave_weapon_noweapon"] = "%s har inte detta vapen",
+ ["received_weapon"] = "Mottog %s från %s",
+ ["received_weapon_ammo"] = "Mottog ~o~%sx %s för din %s från %s",
+ ["received_weapon_withammo"] = "Mottog %s med ~o~%sx %s från %s",
+ ["received_weapon_hasalready"] = "%s har försökt ge dig en %s, men du har redan detta",
+ ["received_weapon_noweapon"] = "%s har försökt ge dig skott till en %s, men du har inte detta vapen",
+ ["gave_account_money"] = "Ger %skr (%s) till %s",
+ ["received_account_money"] = "Mottog %skr (%s) från %s",
+ ["amount_invalid"] = "Ogiltig mängd",
+ ["players_nearby"] = "Inga spelare nära",
+ ["ex_inv_lim"] = "Kan inte utföra, överskrider maxvikten på %s",
+ ["imp_invalid_quantity"] = "Kan inte utföra, mängden är ogiltig",
+ ["imp_invalid_amount"] = "Kan inte utföra, antalet är ogiltig",
+ ["threw_standard"] = "Kastar %sx %s",
+ ["threw_account"] = "Kastar %skr %s",
+ ["threw_weapon"] = "Kastar %s",
+ ["threw_weapon_ammo"] = "Kastar %s med ~o~%sx %s",
+ ["threw_weapon_already"] = "Du har redan detta vapen",
+ ["threw_cannot_pickup"] = "Inventoryt är fullt, kan inte plocka upp!",
+ ["threw_pickup_prompt"] = "Tryck E för att plocka upp",
+ ["keymap_showinventory"] = "Öppna inventory",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/tr.lua b/[core]/esx_inventory/locales/tr.lua
new file mode 100644
index 00000000..bfe98dfd
--- /dev/null
+++ b/[core]/esx_inventory/locales/tr.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "Envanter ( Ağırlık %s / %s )",
+ ["use"] = "Kullan",
+ ["give"] = "Ver",
+ ["remove"] = "At",
+ ["return"] = "Geri Ver",
+ ["give_to"] = "Şuna Ver",
+ ["amount"] = "Miktar",
+ ["giveammo"] = "Mermi Ver",
+ ["amountammo"] = "Mermi Miktarı",
+ ["noammo"] = "Yeterli Değil!",
+ ["gave_item"] = "Verilen %sx %s %s'ye",
+ ["received_item"] = "Alınan %sx %s %s'den",
+ ["gave_weapon"] = "Verilen %s %s'ye",
+ ["gave_weapon_ammo"] = "Verilen ~o~%sx %s %s için %s'ye",
+ ["gave_weapon_withammo"] = "Verilen %s ile ~o~%sx %s %s'ye",
+ ["gave_weapon_hasalready"] = "%s Zaten Bir %s Sahip",
+ ["gave_weapon_noweapon"] = "%s O Silahı Sahip Değil",
+ ["received_weapon"] = "%s'den %s Alındı",
+ ["received_weapon_ammo"] = "%s'den %s için ~o~%sx %s Alındı",
+ ["received_weapon_withammo"] = "%s'den %s ile ~o~%sx %s Alındı",
+ ["received_weapon_hasalready"] = "%s Size Bir %s Vermeye Çalıştı, Ama Zaten Bu Silahınız Var",
+ ["received_weapon_noweapon"] = "%s Size Bir %s İçin Mermi Vermeye Çalıştı, Ama Bu Silaha Sahip Değilsiniz",
+ ["gave_account_money"] = "Verilen $%s (%s) %s'ye",
+ ["received_account_money"] = "Alınan $%s (%s) %s'den",
+ ["amount_invalid"] = "Geçersiz Miktar",
+ ["players_nearby"] = "Yakınlarda Hiçbir Oyuncu Yok",
+ ["ex_inv_lim"] = "İşlem Yapılamaz, %s Ağırlık Sınırı Aşıldı",
+ ["imp_invalid_quantity"] = "İşlem Yapılamaz, Miktar Geçersiz",
+ ["imp_invalid_amount"] = "İşlem Yapılamaz, Miktar Geçersiz",
+ ["threw_standard"] = "Atılan %sx %s",
+ ["threw_account"] = "Atılan $%s %s",
+ ["threw_weapon"] = "Atılan %s",
+ ["threw_weapon_ammo"] = "Atılan %s ile ~o~%sx %s",
+ ["threw_weapon_already"] = "Bu Silaha Zaten Sahipsiniz",
+ ["threw_cannot_pickup"] = "Envanter Dolu, Alınamaz!",
+ ["threw_pickup_prompt"] = "Almak İçin E'ye Basın",
+ ["keymap_showinventory"] = "Envanteri Göster",
+ ["locale_currency"] = "$%s",
+}
diff --git a/[core]/esx_inventory/locales/zh-cn.lua b/[core]/esx_inventory/locales/zh-cn.lua
new file mode 100644
index 00000000..aec0afe1
--- /dev/null
+++ b/[core]/esx_inventory/locales/zh-cn.lua
@@ -0,0 +1,40 @@
+return {
+ ["inventory"] = "物品栏 (负重 %s / %s)",
+ ["use"] = "使用",
+ ["give"] = "赠予",
+ ["remove"] = "丢弃",
+ ["return"] = "返回",
+ ["give_to"] = "赠予目标",
+ ["amount"] = "数量",
+ ["giveammo"] = "赠予弹药",
+ ["amountammo"] = "弹药数量",
+ ["noammo"] = "弹药不足!",
+ ["gave_item"] = "您将 %s 个 %s 赠予给 %s",
+ ["received_item"] = "您收到 %s 个 %s, 由 %s 的赠予",
+ ["gave_weapon"] = "您将 %s 赠予给 %s",
+ ["gave_weapon_ammo"] = "您将 ~o~%s 发 %s %s 赠予 %s",
+ ["gave_weapon_withammo"] = "您把 %s 及 ~o~%s 发 %s 赠予 %s",
+ ["gave_weapon_hasalready"] = "%s 已拥有 %s",
+ ["gave_weapon_noweapon"] = "%s 未拥有该武器",
+ ["received_weapon"] = "您收到 %s, 由 %s 赠",
+ ["received_weapon_ammo"] = "您收到 ~o~%s 发 %s 的%s, 由 %s 赠予",
+ ["received_weapon_withammo"] = "您收到 %s 及 ~o~%s 发 %s, 由 %s 赠予",
+ ["received_weapon_hasalready"] = "%s 试图赠予您 %s, 但您已拥有",
+ ["received_weapon_noweapon"] = "%s 试图赠予您 %s 发弹药, 但您未装备该武器",
+ ["gave_account_money"] = "您将 ¥%s (%s) 转账至 %s",
+ ["received_account_money"] = "您收到 ¥%s (%s), 由 %s 转账",
+ ["amount_invalid"] = "无效数量",
+ ["players_nearby"] = "附近暂无其他人员",
+ ["ex_inv_lim"] = "操作失败: 超过最大负重限制 (%s)",
+ ["imp_invalid_quantity"] = "操作失败: 无效数量输入",
+ ["imp_invalid_amount"] = "操作失败: 无效金额输入",
+ ["threw_standard"] = "您已丢弃 %s 个 %s",
+ ["threw_account"] = "您已丢弃 ¥%s 笔 %s",
+ ["threw_weapon"] = "您已丢弃武器 %s",
+ ["threw_weapon_ammo"] = "您已丢弃 %s 及其 ~o~%s 发 %s",
+ ["threw_weapon_already"] = "您已持有相同武器!",
+ ["threw_cannot_pickup"] = "物品栏已满, 无法拾取!",
+ ["threw_pickup_prompt"] = "键下 [E] 拾取",
+ ["keymap_showinventory"] = "显示物品栏",
+ ["locale_currency"] = "$%s",
+}