From 5677a43e74b24231e12fb1b5670412f62f104eb8 Mon Sep 17 00:00:00 2001 From: Nordi98 Date: Sun, 15 Jun 2025 04:34:41 +0200 Subject: [PATCH] fix --- .../omi-warehouse/client/client.lua | 36 +++++++++---------- .../[inventory]/omi-warehouse/fxmanifest.lua | 10 ++++++ 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/resources/[inventory]/omi-warehouse/client/client.lua b/resources/[inventory]/omi-warehouse/client/client.lua index 1ea06a3cc..8e2dda6ce 100644 --- a/resources/[inventory]/omi-warehouse/client/client.lua +++ b/resources/[inventory]/omi-warehouse/client/client.lua @@ -33,21 +33,21 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) lib.registerContext({ id = 'warehouse_menu', - title = 'Warehouse Interaction', + title = 'Lager Interaktion', options = { { icon = "check", - title = 'Manage Warehouse', + title = 'Lager verwalten', disabled = DisableOwnerMenu, arrow = false, -- puts arrow to the right onSelect = function() lib.registerContext({ id = 'warehouse_owner_menu', - title = 'Warehouse Interaction', + title = 'Lager Interaktion', options = { { icon = "hand", - title = 'Open Warehouse Stash', + title = 'Lager öffnen', arrow = false, -- puts arrow to the right onSelect = function() TriggerEvent("moon-warehouse:client:openwarehousestash", meow) @@ -55,16 +55,16 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "arrows-up-to-line", - title = "Upgrade Warehouse", + title = "Lager upgraden", arrow = false, -- puts arrow to the right onSelect = function() lib.registerContext({ id = 'warehouse_upgrade_menu', - title = 'Warehouse Upgradation', + title = 'Lagermodernisierung', options = { { icon = "arrows-up-to-line", - title = 'Upgrade Warehouse Stash', + title = 'Lager Plätze ausbauen', arrow = false, onSelect = function() TriggerEvent("moon-warehouse:client:upgradewarehousesize", meow) @@ -72,7 +72,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "arrows-up-to-line", - title = 'Upgrade Warehouse Slots', + title = 'Lagerplätze erhöhen', arrow = false, onSelect = function() TriggerEvent("moon-warehouse:client:upgradewarehouseslots", meow) @@ -80,7 +80,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "backward", - title = "Go Back", + title = "Zurück", arrow = false, -- puts arrow to the right onSelect = function() TriggerEvent("moon-warehouse:client:openmenu", meow) @@ -93,7 +93,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "arrows-up-to-line", - title = 'Reset Warehouse Password', + title = 'Lagerpasswort zurücksetzen', arrow = false, onSelect = function() TriggerEvent("moon-warehouse:client:resetpassword", meow) @@ -101,7 +101,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "xmark", - title = "Sell Warehouse", + title = "Lager verkaufen", arrow = false, -- puts arrow to the right onSelect = function() TriggerEvent("moon-warehouse:client:sellwarehouse", {location = meow}) @@ -109,7 +109,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "clock", - title = 'Renew Warehouse', + title = 'Lager erneuern', arrow = false, onSelect = function() TriggerEvent("moon-warehouse:client:renewwarehouse", meow) @@ -117,7 +117,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "clock", - title = 'Check Warehouse Expiry Date', + title = 'Lager Ablaufdatum prüfen', arrow = false, onSelect = function() TriggerEvent("moon-warehouse:client:checkwarehouse", meow) @@ -125,7 +125,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "backward", - title = "Go Back", + title = "zurück", arrow = false, -- puts arrow to the right onSelect = function() TriggerEvent("moon-warehouse:client:openmenu", meow) @@ -138,7 +138,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "dollar-sign", - title = 'Purchase Warehouse', + title = 'Lager kaufen', disabled = DisablePurchase, arrow = false, -- puts arrow to the right onSelect = function() @@ -147,7 +147,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "dollar-sign", - title = 'Open Stash With Password', + title = 'Lager mit Passwort öffnen', arrow = false, -- puts arrow to the right onSelect = function() TriggerEvent("moon-warehouse:client:openwithpassword", meow) @@ -155,7 +155,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "dollar-sign", - title = 'Raid Warehouse', + title = 'Lager durchsuchen', disabled = DisablePoliceRaid, arrow = false, -- puts arrow to the right onSelect = function() @@ -174,7 +174,7 @@ RegisterNetEvent("moon-warehouse:client:openmenu", function(meow) }, { icon = "xmark", - title = "Close Menu", + title = "Menü schließen", arrow = false, -- puts arrow to the right onSelect = function() lib.hideContext() diff --git a/resources/[inventory]/omi-warehouse/fxmanifest.lua b/resources/[inventory]/omi-warehouse/fxmanifest.lua index c2db0068d..bfbae7f28 100644 --- a/resources/[inventory]/omi-warehouse/fxmanifest.lua +++ b/resources/[inventory]/omi-warehouse/fxmanifest.lua @@ -28,4 +28,14 @@ escrow_ignore { 'server/*.lua', } +dependencies { + 'qb-core', + 'qb-target', + 'oxmysql' +} + + + + + lua54 'yes' \ No newline at end of file