Bot Kick plugin help
I am trying to work on a previous plugin that was posted by Vato Loco. The plugin sets a set number of active bots and then reduces the bot_quota when a player joins until the max number of bots reaches zero. However when there are no players in the server the bot quota also is set to zero. How could I change this so when there is also zero players in the server that the bots would not leave! Thanks!!
PHP Code:
|
Re: Bot Kick plugin help
hmmm
|
Re: Bot Kick plugin help
Thanks VERY much for helping!! I've tested it and run it in debug mode. Here is the output of the error.
Invalid CVAR pointer L 08/09/2009 - 18:42:16: [AMXX] Displaying debug trace (plugin "czbot.amxx") L 08/09/2009 - 18:42:16: [AMXX] Run time error 10: native error (native "set_pcvar_num") L 08/09/2009 - 18:42:16: [AMXX] [0] textYXChSX.sma::check_players (line 34) L 08/09/2009 - 18:42:20: Invalid CVAR pointer L 08/09/2009 - 18:42:20: [AMXX] Displaying debug trace (plugin "czbot.amxx") L 08/09/2009 - 18:42:20: [AMXX] Run time error 10: native error (native "set_pcvar_num") L 08/09/2009 - 18:42:20: [AMXX] [0] textYXChSX.sma::check_players (line 34) |
Re: Bot Kick plugin help
ok i will try to fix this...
but you can try to do this set in your amxx.cfg bot_join_after_player 0 and use your code that you have post and test it i think that should work too !!! |
Re: Bot Kick plugin help
Ok i'll try that also! and post back if it works!
|
Re: Bot Kick plugin help
ok hehehe :wink::mrgreen:
|
Re: Bot Kick plugin help
Looks like i still get the same error! :(
|
Re: Bot Kick plugin help
whoops missed the part to use the old code. One sec
|
Re: Bot Kick plugin help
i'm sure it will work !!! :wink:
|
Re: Bot Kick plugin help
Ok tried it, but now the plugin loads with no errors, but no bots join when your out of the server or in the server.
|
| All times are GMT -4. The time now is 18:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.