in plugind_end "for" operator, question
Hello, I would like to know is it good idea to add "for" operator in plugin_end?
My idea is when server crash, bugged or shutting down to set/save X option for all players. Example: PHP Code:
PHP Code:
|
Re: in plugind_end "for" operator, question
If the server crashes, plugin_end() will never be executed.
You can put what ever code you want in plugin_end() as long as it is not player specific. P.S. Questions about scripting should be in Scripting Help. |
Re: in plugind_end "for" operator, question
The game server should not crash during game. It might crash when changing map 'cos models, textures or sprites that are probably missing.
Nothing should be saved in that moment. |
Re: in plugind_end "for" operator, question
Okay, thank you :)
|
All times are GMT -4. The time now is 04:27. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.