Fixed the isEnt scr error

This commit is contained in:
INeedBots 2020-11-30 03:39:03 -06:00
parent f888d65932
commit 83252684b5
3 changed files with 4 additions and 4 deletions

View File

@ -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
///////////////////////////

View File

@ -726,7 +726,7 @@ chopperWatch()
chopper = level.chopper;
if (!isEntity(chopper))
if (level.teamBased && getDvarInt("doubleHeli"))
{
chopper = level.chopper["allies"];
if (!isDefined(chopper))

View File

@ -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] ];
}