Auto restart Script after the server started

I have some issues with scripts which are somehow fixed when I restart them.

So is there a possibility to restart Scripts after the server Started.

I already tryed to restart the scripts in the server.cfg and it still didnt work.

kind regards ^^

1 Like

i guess the best way would be to describe your problems and fix them ^^

So i have two Problems

  1. I have a script where i can add Blips. But some Blips doesent have a name. After i restart the script its fixed

  2. In esx_supermarket the items are duplicated (that means that the items are two times displayed)
    Same here, i restart the script and its fixed

Possibly you’re using old versions of the scripts.
The second one seems like misconfigured, but you can share the codeblock from supermarket where the items are put into the window, I’ll try to make a workaround

they are in the Database should i send you the database?

Make a screenshot of the database and send the codeblock from the client.lua where it opens the shop menu

Sry for late response ;(

But here is the Database and the client lua

main.lua (4.2 KB)

It’s not the full database because i need to send 5-10 screenshots more

How many blips do you have in total? I believe there’s a limit

There isn’t and i have 194 Blips (Includes the Player blip)

Hmm strange because if I had more than 60 blips some of them would appear on the list without any name nor location