mirror of
https://github.com/ineedbots/iw3_bot_warfare.git
synced 2025-04-23 02:35:43 +00:00
Fixed the isEnt scr error
This commit is contained in:
parent
f888d65932
commit
83252684b5
@ -189,7 +189,7 @@ set g_gametype "dom" // gamemode, one of [war, dm, sd, sab, koth]
|
||||
// Setup for custom maps when running a mod
|
||||
seta sv_wwwDownload "1" // enable download redirection
|
||||
seta sv_wwwBaseURL "http://rawcdn.githack.com/ineedbots/www_host/main/cod4x/" // defines url to download from
|
||||
seta sv_wwwDlDisconnected "0" // disconnect clients while downloading
|
||||
seta sv_wwwDlDisconnected "1" // disconnect clients while downloading
|
||||
///////////////////////////
|
||||
|
||||
|
||||
|
@ -726,7 +726,7 @@ chopperWatch()
|
||||
|
||||
chopper = level.chopper;
|
||||
|
||||
if (!isEntity(chopper))
|
||||
if (level.teamBased && getDvarInt("doubleHeli"))
|
||||
{
|
||||
chopper = level.chopper["allies"];
|
||||
if (!isDefined(chopper))
|
||||
|
@ -2144,7 +2144,7 @@ bot_killstreak_think()
|
||||
case "helicopter_mp":
|
||||
chopper = level.chopper;
|
||||
|
||||
if (isDefined(chopper) && !isEntity(chopper))
|
||||
if (isDefined(chopper) && level.teamBased && getDvarInt("doubleHeli"))
|
||||
chopper = level.chopper[self.team];
|
||||
|
||||
if (isDefined(chopper))
|
||||
@ -2306,7 +2306,7 @@ bot_target_vehicle()
|
||||
|
||||
chopper = level.chopper;
|
||||
|
||||
if(isDefined(chopper) && !isEntity(chopper))
|
||||
if(isDefined(chopper) && level.teamBased && getDvarInt("doubleHeli"))
|
||||
{
|
||||
chopper = level.chopper[ level.otherTeam[self.team] ];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user