Works great for me. Everyone needs to remember to /setadmin id 10 for this to work (even if you’re a superadmin). I think having anyone be able to buy stocks would really make it interesting. Values of companies can rise and fall, people can make money on the side by investing, etc. Keep up the good work!
Hi! Cool script but how i can remove a business? XD
I have created the shops, but only 1 appears
you need to do that manually from the database
Another feature to add (along with a script for /business list) 
Will you accept a PR?
found the issue, will fix it soon
what do you mean?
the script already has a /business list command if you mean that

okey thx, and other issue im having is that i dont recive the money
did you restart the script at any point? are there any errors when the money coroutines run?
i tried to restart it, but in the console it said that the script didnt exist
Rather than having people go to F8 to see the list have a UI (like esx_scoreboard or something). Also for me the list doesn’t wrap so it just shows a single line.
yeah, i fixed that but it used to be in separate lines but it broke along the way somehow
you can’t restart only the script, you have to restart the whole server
there’s even a nice warning when you start/restart the scritpt
and what about the money?
any errors in the server console, if yes, screenshot it
no errors
i messaged you in private so i can help you better
Hello. Ive changed cron to do job every 15 minutes but it doing it in random… sometimes an hour sometimes half hour.
for i=0,23 do
TriggerEvent(“cron:runAt”,i,15,runMoneyCoroutines)
end
if i change this like
TriggerEvent(“cron:runAt”,0,0,15,runMoneyCoroutines)
it should run every 15 minutes?
Thats not every 15 minutes.
Thats 15 past every hour.
if you want it to run every 15 minutes you can do this
for i=0,23 do
for j=0,60,15 do
TriggerEvent(“cron:runAt”,i,j,runMoneyCoroutines)
end
end
or if you don’t care if it fires exactly at :00 :15 :30 and :45 then you can just do a tick loop
Citizen.CreateThread(function()
while true do
Citizen.Wait(15*60*1000)
runMoneyCoroutines()
end
end)
