1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2025-06-28 23:21:51 +00:00

Bots target killstreaks

This commit is contained in:
ineedbots
2021-05-22 17:28:03 -06:00
parent a9a65c5da5
commit 2d94fae8e6
2 changed files with 20 additions and 7 deletions

View File

@ -490,7 +490,7 @@ isWeaponPrimary(weap)
*/
entIsVehicle(ent)
{
return (ent.classname == "script_vehicle" || ent.model == "vehicle_uav_static_mp" || ent.model == "vehicle_ac130_coop");
return (!isPlayer(ent) && (ent.classname == "script_vehicle" || ent.model == "vehicle_uav_static_mp" || ent.model == "vehicle_ac130_coop" || ent.model == "vehicle_predator_b" || ent.model == "vehicle_phantom_ray"));
}
/*