This commit is contained in:
ChocoTaco1 2021-03-04 15:22:04 -05:00
parent 95863e5c9e
commit 627cebbc8a
2 changed files with 6 additions and 0 deletions

View file

@ -48,6 +48,10 @@ function loadMissionStage2()
$Host::NoBaseRapeEnabled = 0; $Host::NoBaseRapeEnabled = 0;
else else
$Host::NoBaseRapeEnabled = 1; $Host::NoBaseRapeEnabled = 1;
//Reset IFF Colors
if($IFFColors)
$IFFColors = 0;
parent::loadMissionStage2(); parent::loadMissionStage2();
} }

View file

@ -557,6 +557,7 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
setSensorGroupColor(0, 1 << 1, "0 0 255 255"); setSensorGroupColor(0, 1 << 1, "0 0 255 255");
setSensorGroupColor(0, 1 << 2, "255 0 0 255"); setSensorGroupColor(0, 1 << 2, "255 0 0 255");
$IFFColors = 1; $IFFColors = 1;
messageClient( %client, '', "Alternate IFF Colors have been enabled. (This will Reset after every match)~wfx/powered/vehicle_screen_on.wav" );
} }
else else
{ {
@ -564,6 +565,7 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
setSensorGroupColor(0, 1 << 1, "0 255 0 255"); setSensorGroupColor(0, 1 << 1, "0 255 0 255");
setSensorGroupColor(0, 1 << 2, "255 0 0 255"); setSensorGroupColor(0, 1 << 2, "255 0 0 255");
$IFFColors = 0; $IFFColors = 0;
messageClient( %client, '', "Alternate IFF Colors have been disabled.~wfx/powered/vehicle_screen_on.wav" );
} }
} }
case "ForceVote": case "ForceVote":