bool CCFBot::IsReadyToSpawn( void ) { // Give the poor bot a chance to buy something first. if (IsBuying() && gpGlobals->curtime < GetStateTimestamp() + 1) return false; return BaseClass::IsReadyToSpawn(); }
bool CCSBot::IsBusy() const { if (IsAttacking() || IsBuying() || IsDefusingBomb() || GetTask() == PLANT_BOMB || GetTask() == RESCUE_HOSTAGES || IsSniping()) { return true; } return false; }