[RELEASE] [ESX] Business system

Hey! Here’s a business system. This allows you to buy businesses (interiors not included). It works on irl 1hr cycles where it takes 1 stock and gives you money (-fees and employee payout) for it.
Sounds simple, right? That’s because it is.
Made this from scratch based on the already existing vRP version of this (as you can see in the screenshots) but coding style is much different
Oh and also DO NOT RESTART, it requires a full server restart.

If you found an error, please make an issue on GitHub

Download: latest
Source: GitHub
Documentation: GitHub Readme
For database updating: update.sql

Screenshots:
FiveM_GTAProcess_toGMEkUY4q
qIqVuMqgcs
FiveM_GTAProcess_WRat76n0x2
FiveM_GTAProcess_6M6TithnNQ
FiveM_GTAProcess_UdUSdDLGuI

38 Likes

Quality Release !

3 Likes

Sounds interesting! Thank you for sharing! Can’t wait to test it out! :slight_smile:

2 Likes

Amazing! Im going to try this for sure! Thank you so much for sharing!:+1:t2:

2 Likes

I was waiting for this for some time, I’ll test this and maybe change some stuff I can sent you some the stuff that’ll be changed if so! XD

1 Like

yeah sure

2 Likes

Great job- what does one sell at the Gucci Store, it’s very fancy indeed! :stuck_out_tongue: Keep it up!

1 Like

the gucci store sells gucci branded scripts :stuck_out_tongue:

1 Like

you are the best really like el_bwh was the most thing i needed and i also needed business systems and u made my dream come true ur the best bro oh and also got a great idea for bwh when someone calls the admin, admins can press a certain key to accept or decline the request :wink:

1 Like

got it, will do

1 Like

i cant create business i can only do /businesses

1 Like

make sure you have admin level 10+

1 Like

how can i make so they get money from the business after 24hrs?

1 Like

well, open server.lua, go to line 200 and change the next 3 lines

for i=0,23 do
    TriggerEvent("cron:runAt",i,0,runMoneyCoroutines)
end

to

TriggerEvent("cron:runAt",15,0,runMoneyCoroutines)

to receive money every day at 15:00

2 Likes

noice

1 Like

Error parsing script @el_business/server.lua in resource el_business: @el_business/server.lua:202: unexpected symbol near ‘)’

ummmmmmmmmmmmmmm

1 Like

can you post the code you have there?

1 Like
Citizen.CreateThread(function()
    print("esx_business: Started!")
    print("********************")
    print("WARNING: PLEASE DON\'T RESTART THIS SCRIPT, USE THE BUILTIN COMMAND /business reload TO RELOAD DATA FROM DATABASE")
    print("********************")
    for i=0,23 do
        TriggerEvent("cron:runAt",23,0,runMoneyCoroutines)
end)
1 Like

remove the for i=0,23 do line

1 Like

oops my bad :frowning:

1 Like