Raised This Month: $ Target: $400
 0% 

not detecting bots in game


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 06-12-2006 , 07:48   not detecting bots in game
Reply With Quote #1

the script compiles fine and all but in game...

EDIT
I have kinda worked it out
i forgot to mention that i'm using podbot_mm
in the podbot.cfg file, the pb_minbots is set to 0 and the pb_maxbots is 18 but i'm trying to change it in here...
i make a small lan game and wait for like 10secs and no bots come in whats so ever, i checked my console and typed "pb_minbots" and it was set to 0
why can't it fuken read the script!!!
Code:
public round_start() {     set_task(0.1,"BotNumber")     set_task(0.3,"TeamCheck")     set_task(0.6,"TeamSet")     set_task(1.0,"MakeBots")     set_task(2.5,"StartMsg")     set_task(3.0,"SetKnife") } public BotNumber() {     if( get_cvar_num("amx_zbot") != 1 ) {         return PLUGIN_HANDLED     }     new player_num, bot_num, rplayer_num     player_num = get_playersnum()     bot_num = get_cvar_num( "pb_maxbots" )     rplayer_num = player_num - bot_num         switch(rplayer_num) {         case 1..2: set_cvar_num( "pb_minbots", 2 ),set_cvar_num( "pb_maxbots", 2 )         case 3..4: set_cvar_num( "pb_minbots", 4 ),set_cvar_num( "pb_maxbots", 4 )         case 5..6: set_cvar_num( "pb_minbots", 6 ),set_cvar_num( "pb_maxbots", 6 )         case 7..8: set_cvar_num( "pb_minbots", 8 ),set_cvar_num( "pb_maxbots", 10 )         case 9..10: set_cvar_num( "pb_minbots", 10 ),set_cvar_num( "pb_maxbots", 10 )         case 11..12: set_cvar_num( "pb_minbots", 12 ),set_cvar_num( "pb_maxbots", 12 )         case 13..14: set_cvar_num( "pb_minbots", 14 ),set_cvar_num( "pb_maxbots", 14 )         case 15..16: set_cvar_num( "pb_minbots", 16 ),set_cvar_num( "pb_maxbots", 16 )     }     return PLUGIN_CONTINUE }
Attached Files
File Type: txt zombiebot.txt (314 Bytes, 138 views)
Mini_Midget is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode