Raised This Month: $ Target: $400
 0% 

How do I spawn a bot after I create it??


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 04-26-2006 , 15:29   How do I spawn a bot after I create it??
Reply With Quote #1

Basically I can create the bots, but how do I spawn them?

Code:
        engfunc( EngFunc_CreateFakeClient, "" );         engfunc( EngFunc_CreateFakeClient, "" );         engfunc( EngFunc_CreateFakeClient, "" );         engfunc( EngFunc_CreateFakeClient, "" );         engfunc( EngFunc_CreateFakeClient, "" );         new players[32], iPlayerNum, id, i;         get_players( players, iPlayerNum, "b" );         for ( i = 0; i < iPlayerNum; i++ )         {             id = players[i];             if ( is_user_bot( id ) && !is_user_alive( id ) )             {                 server_print( "Spawning %d", id );                 spawn( id );             }         }

The above doesn't work
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
 


Thread Tools
Display Modes

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 05:03.


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