Welcome to the forum, Guest

To access forum content and all of our services, you must register or log in to the forum. Joining the forum and all content on the forum is completely free.

The world's largest FiveM Forum and GTA 5 Forum address

Hello dear member,
We work 24/7 to provide the most valuable content that will be of use to you,
you can share content and support the entire FiveM & GTA 5 mods.

Guide Fixing Esx_Lscustom Society Problem

Ares

VAG - VF
Head Admin
Joined
May 6, 2021
Messages
547
Reaction score
49,747
Points
411
Location
root
Website
fivelicense.com
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

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
 

Login or register to get more out of the forum!

Login or register to get more out of the forum!

Register

Creating an account on the forum is completely free.

Register now
Log in

If you have an account, please login

Log in

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds