IsUsingRemote

This commit is contained in:
INeedBots 2020-11-10 04:43:05 -06:00
parent e40304c796
commit 445e13c631

View File

@ -504,7 +504,7 @@ stance()
{ {
self waittill_either("finished_static_waypoints", "new_static_waypoint"); self waittill_either("finished_static_waypoints", "new_static_waypoint");
if(self.bot.isfrozen) if(self.bot.isfrozen || self IsUsingRemote())
continue; continue;
toStance = "stand"; toStance = "stand";
@ -1398,6 +1398,9 @@ walk()
if(level.gameEnded || !gameFlag( "prematch_done" ) || self.bot.isfrozen || self.bot.stop_move) if(level.gameEnded || !gameFlag( "prematch_done" ) || self.bot.isfrozen || self.bot.stop_move)
continue; continue;
if (self IsUsingRemote())
continue;
if(self maps\mp\_flashgrenades::isFlashbanged()) if(self maps\mp\_flashgrenades::isFlashbanged())
{ {
self botMoveTo(self.origin + self GetVelocity()*500); self botMoveTo(self.origin + self GetVelocity()*500);