diff --git a/Classic/scripts/autoexec/MissionTypeOptions.cs b/Classic/scripts/autoexec/MissionTypeOptions.cs index 0515b6c..ae7e8c4 100644 --- a/Classic/scripts/autoexec/MissionTypeOptions.cs +++ b/Classic/scripts/autoexec/MissionTypeOptions.cs @@ -48,6 +48,10 @@ function loadMissionStage2() $Host::NoBaseRapeEnabled = 0; else $Host::NoBaseRapeEnabled = 1; + + //Reset IFF Colors + if($IFFColors) + $IFFColors = 0; parent::loadMissionStage2(); } diff --git a/Classic/scripts/autoexec/VoteMenu.cs b/Classic/scripts/autoexec/VoteMenu.cs index 9c161ac..05c0abe 100644 --- a/Classic/scripts/autoexec/VoteMenu.cs +++ b/Classic/scripts/autoexec/VoteMenu.cs @@ -557,6 +557,7 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, % setSensorGroupColor(0, 1 << 1, "0 0 255 255"); setSensorGroupColor(0, 1 << 2, "255 0 0 255"); $IFFColors = 1; + messageClient( %client, '', "Alternate IFF Colors have been enabled. (This will Reset after every match)~wfx/powered/vehicle_screen_on.wav" ); } else { @@ -564,6 +565,7 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, % setSensorGroupColor(0, 1 << 1, "0 255 0 255"); setSensorGroupColor(0, 1 << 2, "255 0 0 255"); $IFFColors = 0; + messageClient( %client, '', "Alternate IFF Colors have been disabled.~wfx/powered/vehicle_screen_on.wav" ); } } case "ForceVote":