From 677744eb9e4d0e427f64509cfd9d401bade331cd Mon Sep 17 00:00:00 2001 From: j0le <55405106+xj0le@users.noreply.github.com> Date: Sun, 25 Sep 2022 21:53:36 +0200 Subject: [PATCH 1/2] Update main.lua Wrong information. --- [esx]/es_extended/client/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 33d939d66db4b3bb2d217b7dca74a794f7eda0ac Mon Sep 17 00:00:00 2001 From: Tony Stark <76168122+tony-stark-17@users.noreply.github.com> Date: Mon, 26 Sep 2022 02:01:04 +0530 Subject: [PATCH 2/2] Update main.lua --- [esx_addons]/esx_property/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()