Instead of restarting a resource through something like icecon, is there a script to restart a resource that one could put in a .lua?
Nope, it’s programmatically impossible to do as resources are server-global.
Nooooooooooooooooooo! lol
Thanks @DGKN
1 Like
I know this thread is about 4 years old, but this may help someone…
ExecuteCommand(‘ensure resource_name’)
lol people is so stupid, is normal than you can use ExecuteCommand(‘restart start ensure stop etc …
resource_name’)
impossible does not exist in computer science, especially in programming, everything is possible, it depends on how much a programmer has a high IQ haha