If you want it in lua just create your own function and inside put only this "exit(-1);"This method works for lua scripts in a server? Like I could put that as a talkaction to make it exit the server?
Exactly like Codinablack said also I want to re-open server application to keep fresh process every x time instead of 200h uptime.
If you want it in lua just create your own function and inside put only this "exit(-1);"
Thank you!
@dominique120 I don't know if its a bug that needs reported on github or not, but yeah if you just use shutdown state on a timer, and then have a restarter, it won't work because the process never completely ended...
EDIT: Apparently I haven't tried to do that in a long time, because I just tried to do it and take a screenshot and apparently it has been fixed in the version I am using...
Try this one for me it works perfect:Thank you!
@dominique120 I don't know if its a bug that needs reported on github or not, but yeah if you just use shutdown state on a timer, and then have a restarter, it won't work because the process never completely ended...
EDIT: Apparently I haven't tried to do that in a long time, because I just tried to do it and take a screenshot and apparently it has been fixed in the version I am using...