diff --git a/server-data/resources/[bpt_addons]/bpt_lumberjack/client/main.lua b/server-data/resources/[bpt_addons]/bpt_lumberjack/client/main.lua index e82d7556f..bc37aa69f 100644 --- a/server-data/resources/[bpt_addons]/bpt_lumberjack/client/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_lumberjack/client/main.lua @@ -120,7 +120,7 @@ CreateThread(function() if treewood and IsPedOnFoot(player) then if not Collection then - ESX.ShowHelpNotification(_U("wood_pickupprompt")) + ESX.ShowHelpNotification(TranslateCap("wood_pickupprompt")) end if IsControlJustReleased(0, Keys["E"]) and not Collection then @@ -139,10 +139,10 @@ CreateThread(function() Wait(200) DeleteObject(treewood) RemoveWeaponFromPed(player, GetHashKey("WEAPON_HATCHET"), true, true) - SetCurrentPedWeapon(player, GetHashKey("WEAPON_UNARMED"), false) + SetCurrentPedWeapon(player, GetHashKey("WEAPONTranslateCapNARMED"), false) TriggerServerEvent("bpt_woodcutter:pickedUpWood") else - ESX.ShowNotification(_U("wood_inventoryfull")) + ESX.ShowNotification(TranslateCap("wood_inventoryfull")) end Collection = false end, "wood") diff --git a/server-data/resources/[bpt_addons]/bpt_lumberjack/config.lua b/server-data/resources/[bpt_addons]/bpt_lumberjack/config.lua index a2a6860d1..65c616838 100644 --- a/server-data/resources/[bpt_addons]/bpt_lumberjack/config.lua +++ b/server-data/resources/[bpt_addons]/bpt_lumberjack/config.lua @@ -2,5 +2,5 @@ Config = {} Config.Locale = "en" Config.CircleZones = { - WoodField = { coords = vector3(2409.51, 1475.23, 40.71), name = _U("blip_woodfield"), color = 69, sprite = 657 }, + WoodField = { coords = vector3(2409.51, 1475.23, 40.71), name = TranslateCap("blip_woodfield"), color = 69, sprite = 657 }, } diff --git a/server-data/resources/[bpt_addons]/bpt_lumberjack/server/main.lua b/server-data/resources/[bpt_addons]/bpt_lumberjack/server/main.lua index ed059fc4d..dcd1b9cf2 100644 --- a/server-data/resources/[bpt_addons]/bpt_lumberjack/server/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_lumberjack/server/main.lua @@ -6,7 +6,7 @@ AddEventHandler("bpt_woodcutter:pickedUpWood", function() local xItem = xPlayer.getInventoryItem("wood") if xItem.weight ~= -1 and (xItem.count + 1) > xItem.weight then - TriggerClientEvent("esx:showNotification", _U("wood_inventoryfull")) + TriggerClientEvent("esx:showNotification", TranslateCap("wood_inventoryfull")) else xPlayer.addInventoryItem(xItem.name, 3) end