Quote:
Originally Posted by GoGoGo
No. There isn't any solution?
|
There are a couple of ways you can check it. Such as registering a cvar in plugin_init and checking to see if it exists in plugin_precache. If it doesn't, then the server just started up. This should work, but I have never tested it.
Another method is to write something (such as a 1) to vault/nvault/sqlite on plugin_init. Then on plugin_end, change it to a 0. Then, in plugin_precache, check the value of it. If it is still a 1, the server crashed.
__________________