Raised This Month: $ Target: $400
 0% 

Serwer start event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-26-2008 , 11:37   Re: Serwer start event
Reply With Quote #4

Quote:
Originally Posted by GoGoGo View Post
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.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode