stop move

This commit is contained in:
Your Name
2020-09-11 21:04:41 -06:00
parent 0028cfb1f6
commit 79817cc03b
3 changed files with 17 additions and 7 deletions

View File

@ -132,6 +132,7 @@ resetBotVars()
self.bot.last_pos = self.origin;
self.bot.moveTo = self.origin;
self.bot.climbing = false;
self.bot.stop_move = false;
self.bot.isfrozen = false;
self.bot.isreloading = false;
@ -2000,7 +2001,7 @@ walk()
self botMoveTo(self.origin);
if(self.bot.isfrozen)
if(self.bot.isfrozen || self.bot.stop_move)
continue;
if(self maps\mp\_flashgrenades::isFlashbanged())