// Parameter: - // Returns: - // Changes Globals: - // ======================================================================== void BotFreeCharacter(int handle) { if (!LibVarGetValue("bot_reloadcharacters")) { return; } BotFreeCharacter2(handle); } // end of the function BotFreeCharacter
void BotShutdownCharacters(void) { int handle; for(handle = 1; handle <= MAX_CLIENTS; handle++) if(botcharacters[handle]) BotFreeCharacter2(handle); }
//=========================================================================== // // Parameter: - // Returns: - // Changes Globals: - //=========================================================================== void BotShutdownCharacters( void ) { int handle; for ( handle = 1; handle <= MAX_CLIENTS; handle++ ) { if ( botcharacters[handle] ) { BotFreeCharacter2( handle ); } //end if } //end for } //end of the function BotShutdownCharacters
//=========================================================================== // // Parameter: - // Returns: - // Changes Globals: - //=========================================================================== void BotShutdownCharacters(void) { int handle; for (handle = 1; handle < MAX_BOT_CHARACTERS; handle++) { if (botcharacters[handle].skill) { BotFreeCharacter2(handle); } //end if } //end for } //end of the function BotShutdownCharacters
//======================================================================== // // Parameter: - // Returns: - // Changes Globals: - //======================================================================== void BotFreeCharacter(int handle) { if (!bot_reloadcharacters.integer) return; BotFreeCharacter2(handle); } //end of the function BotFreeCharacter
void BotFreeCharacter(int handle) { if(!LibVarGetValue("bot_reloadcharacters")) return; BotFreeCharacter2(handle); }