mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-28 07:01:49 +00:00
Got it running
This commit is contained in:
@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user