Serwer start event
What event is called when serwer i starting? Not map, for example after crash I'm turning on server (this event).
|
Re: Serwer start event
There's no such event.
AFAIK this is the first event which is called on AMX Mod X start (that means on every map start) although it's not what you're asking. Code:
|
Re: Serwer start event
No. There isn't any solution?
|
Re: Serwer start event
Well, server.cfg is executed on server start, maybe you can do something with it.
|
Re: Serwer start event
Quote:
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. |
Re: Serwer start event
Can you give me an example using it?
|
Re: Serwer start event
i´m using this, small and usefull for me.
PHP Code:
|
Re: Serwer start event
But it is calling in case resrat, I'm talking about server start.
|
Re: Serwer start event
This should work for you, not tested
PHP Code:
|
Re: Serwer start event
Quote:
|
| All times are GMT -4. The time now is 09:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.