
toggleKeepEnablingUAV()
{
self.unlimitedUAV = booleanOpposite(self.unlimitedUAV);
self printToggleState("Unlimited UAV", self.unlimitedUAV);
if(self.unlimitedUAV)
{
self thread keepEnablingUAV();
}
else
{
self notify("stopEnablingUAV");
}
}
keepEnablingUAV()
{
self endon("disconnect");
self endon("stopEnablingUAV");
while(true)
{
self maps\mp\killstreaks\_spyplane::callSpyplane("radar_mp");
wait level.spyplaneViewTime; // 30 seconds
}
}
toggleKeepEnablingCounterUAV()
{
self.unlimitedCounterUAV = booleanOpposite(self.unlimitedCounterUAV);
self printToggleState("Unlimited Counter UAV", self.unlimitedCounterUAV);
if(self.unlimitedCounterUAV)
{
self thread keepEnablingCounterUAV();
}
else
{
self notify("stopEnablingCounterUAV");
}
}
keepEnablingCounterUAV()
{
self endon("disconnect");
self endon("stopEnablingCounterUAV");
while(true)
{
self maps\mp\killstreaks\_spyplane::callCounterUAV("counteruav_mp");
wait level.counterUAVViewTime; // 30 seconds
}
}
toggleKeepEnablingOrbitalVSAT()
{
self.unlimitedOrbitalVSAT = booleanOpposite(self.unlimitedOrbitalVSAT);
self printToggleState("Unlimited Orbital VSAT", self.unlimitedOrbitalVSAT);
if(self.unlimitedOrbitalVSAT)
{
self thread keepEnablingOrbitalVSAT();
}
else
{
self notify("stopEnablingOrbitalVSAT");
}
}
keepEnablingOrbitalVSAT()
{
self endon("disconnect");
self endon("stopEnablingOrbitalVSAT");
while(true)
{
self maps\mp\killstreaks\_spyplane::callSatellite("radardirection_mp");
wait level.radarLongViewTime; // 45 seconds
}
}
toggleConstantUAV()
{
self.constantUAV = booleanOpposite(self.constantUAV);
self printToggleState("Constant UAV", self.constantUAV);
if(self.constantUAV)
{
self thread keepEnablingConstantUAV();
}
else
{
self notify("stopConstantUAV");
self setClientUiVisibilityFlag("g_compassShowEnemies", false);
}
}
keepEnablingConstantUAV()
{
self endon("disconnect");
self endon("stopConstantUAV");
while(true)
{
self setClientUiVisibilityFlag("g_compassShowEnemies", true);
wait 1;
}
}
booleanOpposite(boolean)
{
return (!isDefined(boolean) || !boolean);
}
booleanToString(booleanVariable)
{
return booleanVariable ? "^2ON^7" : "^1OFF^7";
}
printToggleState(modName, toggleVariable, printGlobally)
{
if(!isDefined(printGlobally))
{
printGlobally = false;
}
message = modName + " ";
if(toggleVariable)
{
message += booleanToString(true);
if(printGlobally)
{
iPrintlnBold(message);
return;
}
self iPrintln(message);
return;
}
message += booleanToString(false);
if(printGlobally)
{
iPrintlnBold(message);
return;
}
self iPrintln(message);
}

toggleKeepEnablingUAV()
{
self.unlimitedUAV = booleanOpposite(self.unlimitedUAV);
self printToggleState("Unlimited UAV", self.unlimitedUAV);
if(self.unlimitedUAV)
{
self thread keepEnablingUAV();
}
else
{
self notify("stopEnablingUAV");
}
}
keepEnablingUAV()
{
self endon("disconnect");
self endon("stopEnablingUAV");
while(true)
{
self maps\mp\killstreaks\_spyplane::callSpyplane("radar_mp");
wait level.spyplaneViewTime; // 30 seconds
}
}
toggleKeepEnablingCounterUAV()
{
self.unlimitedCounterUAV = booleanOpposite(self.unlimitedCounterUAV);
self printToggleState("Unlimited Counter UAV", self.unlimitedCounterUAV);
if(self.unlimitedCounterUAV)
{
self thread keepEnablingCounterUAV();
}
else
{
self notify("stopEnablingCounterUAV");
}
}
keepEnablingCounterUAV()
{
self endon("disconnect");
self endon("stopEnablingCounterUAV");
while(true)
{
self maps\mp\killstreaks\_spyplane::callCounterUAV("counteruav_mp");
wait level.counterUAVViewTime; // 30 seconds
}
}
toggleKeepEnablingOrbitalVSAT()
{
self.unlimitedOrbitalVSAT = booleanOpposite(self.unlimitedOrbitalVSAT);
self printToggleState("Unlimited Orbital VSAT", self.unlimitedOrbitalVSAT);
if(self.unlimitedOrbitalVSAT)
{
self thread keepEnablingOrbitalVSAT();
}
else
{
self notify("stopEnablingOrbitalVSAT");
}
}
keepEnablingOrbitalVSAT()
{
self endon("disconnect");
self endon("stopEnablingOrbitalVSAT");
while(true)
{
self maps\mp\killstreaks\_spyplane::callSatellite("radardirection_mp");
wait level.radarLongViewTime; // 45 seconds
}
}
toggleConstantUAV()
{
self.constantUAV = booleanOpposite(self.constantUAV);
self printToggleState("Constant UAV", self.constantUAV);
if(self.constantUAV)
{
self thread keepEnablingConstantUAV();
}
else
{
self notify("stopConstantUAV");
self setClientUiVisibilityFlag("g_compassShowEnemies", false);
}
}
keepEnablingConstantUAV()
{
self endon("disconnect");
self endon("stopConstantUAV");
while(true)
{
self setClientUiVisibilityFlag("g_compassShowEnemies", true);
wait 1;
}
}
booleanOpposite(boolean)
{
return (!isDefined(boolean) || !boolean);
}
booleanToString(booleanVariable)
{
return booleanVariable ? "^2ON^7" : "^1OFF^7";
}
printToggleState(modName, toggleVariable, printGlobally)
{
if(!isDefined(printGlobally))
{
printGlobally = false;
}
message = modName + " ";
if(toggleVariable)
{
message += booleanToString(true);
if(printGlobally)
{
iPrintlnBold(message);
return;
}
self iPrintln(message);
return;
}
message += booleanToString(false);
if(printGlobally)
{
iPrintlnBold(message);
return;
}
self iPrintln(message);
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.