mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 22:05:44 +00:00
knife sheild
This commit is contained in:
parent
8d615c6411
commit
0028cfb1f6
@ -2406,7 +2406,7 @@ knife(ent, knifeDist)
|
||||
if (ent.hasRiotShield)
|
||||
{
|
||||
entCone = ent getConeDot(self.origin, ent.origin, ent GetPlayerAngles());
|
||||
if ((entCone > 0.85 && ent.hasRiotShieldEquipped) || (entCone < -0.85 && !ent.hasRiotShieldEquipped))
|
||||
if ((entCone > 0.65 && ent.hasRiotShieldEquipped) || (entCone < -0.65 && !ent.hasRiotShieldEquipped))
|
||||
{
|
||||
// play riot shield hitting knife sound
|
||||
if (!usedRiot)
|
||||
|
Loading…
x
Reference in New Issue
Block a user