I’m trying to make a script who can restart a ressource, but i don’t know the fonction to type the command
I know how make a /command but how send a restart to the server console ?
Because I a have a script doesn’t work but when I make a restart it works… It’s weird
Exemple of what I mean :
/test
=> The script “IDontWork” is restart
/teststop
=>The script “IDontWork” is stopped
I might be none of my business, but if you have a script that only works after restarting it, creating another script just to restart the first one, doesn’t sound like a good solution. You probably have a broken export, or a dependency issue, or even something loading too early on that script. Fixing the script might be the best way to go.