Got it running

This commit is contained in:
INeedGames
2020-11-09 00:48:01 -06:00
parent 07bad9e79d
commit 7dde4d75e9
4 changed files with 88 additions and 94 deletions

View File

@ -140,6 +140,14 @@ IsBotReloading()
return self.bot.isreloading;
}
/*
Is bot knifing
*/
IsBotKnifing()
{
return self.bot.isknifingafter;
}
/*
Freezes the bot's controls.
*/
@ -498,6 +506,14 @@ WeaponIsFullAuto(weap)
return isDefined(level.bots_fullautoguns[weaptoks[0]]);
}
/*
If weap is a secondary gnade
*/
isSecondaryGrenade(gnade)
{
return (gnade == "concussion_grenade_mp" || gnade == "flash_grenade_mp" || gnade == "smoke_grenade_mp");
}
/*
If the weapon is allowed to be dropped
*/