mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-28 07:01:49 +00:00
Added ads dvar
This commit is contained in:
@ -1350,6 +1350,9 @@ canAds(dist, curweap)
|
||||
if(curweap == "none")
|
||||
return false;
|
||||
|
||||
if (!getDvarInt("bots_play_ads"))
|
||||
return false;
|
||||
|
||||
far = level.bots_noADSDistance;
|
||||
if(self _hasPerk("specialty_bulletaccuracy"))
|
||||
far *= 1.4;
|
||||
|
Reference in New Issue
Block a user