Hello Everyone, I'm Gonna Tell You Now, The Incident Happened To Me Anyway, I'll Quickly Write The Solution To You First we go to esx_lscustom>server>main and then we find the following line of code
After Finding The Code In This Line (The Code Line Here Is This. It Helps It Withdraw The Money From The Society Sometimes It Doesn't Modify It Because It Couldn't Withdraw It From The Society Anyway)
We Replace With This Line Of Code
(This Code Line Gets The Money From The Modifier)
Also, by entering esx_lscustom>config ,the price is $ 0, so you can do it for free. I'm leaving the code line below.
Find these lines and do it like this
price = 0
You Can Make 0 Dollars by Copy Paste All, Have a Good Day
Code:
if price < societyAccount.money then
TriggerClientEvent('esx_lscustom:installMod', _source)
TriggerClientEvent('esx:showNotification', _source, _U('purchased'))
societyAccount.removeMoney(price)
else
After Finding The Code In This Line (The Code Line Here Is This. It Helps It Withdraw The Money From The Society Sometimes It Doesn't Modify It Because It Couldn't Withdraw It From The Society Anyway)
Code:
if price < xPlayer.getMoney() then
TriggerClientEvent('esx_lscustom:installMod', _source)
TriggerClientEvent('esx:showNotification', _source, _U('purchased'))
xPlayer.removeMoney(price)
We Replace With This Line Of Code
(This Code Line Gets The Money From The Modifier)
Also, by entering esx_lscustom>config ,the price is $ 0, so you can do it for free. I'm leaving the code line below.
Find these lines and do it like this
price = 0
You Can Make 0 Dollars by Copy Paste All, Have a Good Day