server_exec() in plugin_init
If I use server_exec() in plugin_init, will it also force the execution of amxx.cfg and/or server.cfg before the other plugins load?
|
Re: server_exec() in plugin_init
server_exec() does not execute any particular file.
|
Re: server_exec() in plugin_init
I don't think you understand. Let me try to explain it better.
Server.cfg loads on server start. However, those commands wait till all of the plugins have been loaded before executing. That is why putting plugin related cvars/commands in server.cfg works. (?) Will server_exec() in plugin_init of one of the plugins make those commands from server.cfg that are waiting execute before other plugins have been loaded? |
Re: server_exec() in plugin_init
server.cfg is not executed by AMXX
As for your question, not sure, never tested it that far. I know just using server_cmd and not server_exec will wait until the end of the current frame to execute all the commands. Not sure if using server_exec will flush the entire queue or just the queue generated by that plugin. You can always try it yourself though, not that hard |
| All times are GMT -4. The time now is 15:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.