View Single Post
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 05-17-2015 , 09:17   Re: Completely restart server via amxx?
Reply With Quote #9

I would need this to work for every server that runs my plugin, not only my own
I will look at module loading / unloading then, I sort of knew this wasn't possible since the whole autorestart on crash thing relies on child processes



edit:: server_cmd("restart") does the job
are there any problems with using this, problems I haven't found yet?
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.

Last edited by aron9forever; 05-17-2015 at 09:28.
aron9forever is offline