Force Join Team (Humans & Bots)
Is it possible to hard-code these server.cfg cvars into a plugin?
humans_join_team ct bot_join_team t Maybe a line in the "public plugin_init" section. |
Re: Hard Code Server cvars
Add it to amxx.cfg :/
|
Re: Hard Code Server cvars
This code works. The problem is, just like when it's used and changed in a .cfg file, a mapchange is required for the changes to take effect.
Is there a way to code a plugin to force the teams, as done with these cvars, while using an "sv_restart 1" command instead of a mapchange? I would like to be able to use this code in 2 separate plugins, with the teams reversed, along with this Multimod plugin. PHP Code:
|
Re: Hard Code Server cvars
PHP Code:
|
| All times are GMT -4. The time now is 17:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.