diff --git a/[esx]/es_extended/client/main.lua b/[esx]/es_extended/client/main.lua index d53e0455..a165364f 100644 --- a/[esx]/es_extended/client/main.lua +++ b/[esx]/es_extended/client/main.lua @@ -274,7 +274,7 @@ if not Config.OxInventory then RegisterNetEvent('esx:setWeaponAmmo') AddEventHandler('esx:setWeaponAmmo', function(weapon, weaponAmmo) - print("[^1ERROR^7] event ^5'esx:setWeaponAmmo'^7 Has Been Removed. Please use ^5xPlayer.addWeaponComponent^7 Instead!") + print("[^1ERROR^7] event ^5'esx:setWeaponAmmo'^7 Has Been Removed. Please use ^5xPlayer.addWeaponAmmo^7 Instead!") end) RegisterNetEvent('esx:setWeaponTint') @@ -757,4 +757,4 @@ for i=1, #DoNotUse do if GetResourceState(DoNotUse[i]) == 'started' or GetResourceState(DoNotUse[i]) == 'starting' then print("[^1ERROR^7] YOU ARE USING A RESOURCE THAT WILL BREAK ^1ESX^7, PLEASE REMOVE ^5"..DoNotUse[i].."^7") end -end \ No newline at end of file +end diff --git a/[esx_addons]/esx_property/client/main.lua b/[esx_addons]/esx_property/client/main.lua index 0712ff7e..2dc67937 100644 --- a/[esx_addons]/esx_property/client/main.lua +++ b/[esx_addons]/esx_property/client/main.lua @@ -350,7 +350,7 @@ function OpenPropertyMenu(PropertyId) if element.value == "property_raid" then ESX.TriggerServerCallback("esx_property:CanRaid", function(CanRaid) if CanRaid then - ESX.Progressbar(U("prep_raid"), 15000, {FreezePlayer = true, animation = Config.Raiding.Animation, onFinish = function() + ESX.Progressbar(_U("prep_raid"), 15000, {FreezePlayer = true, animation = Config.Raiding.Animation, onFinish = function() ESX.ShowNotification(_U("raiding"), "success") AttemptHouseEntry(PropertyId) end, onCancel = function()