mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-24 10:34:45 +00:00
Update
This commit is contained in:
parent
95863e5c9e
commit
627cebbc8a
|
|
@ -48,6 +48,10 @@ function loadMissionStage2()
|
|||
$Host::NoBaseRapeEnabled = 0;
|
||||
else
|
||||
$Host::NoBaseRapeEnabled = 1;
|
||||
|
||||
//Reset IFF Colors
|
||||
if($IFFColors)
|
||||
$IFFColors = 0;
|
||||
|
||||
parent::loadMissionStage2();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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":
|
||||
|
|
|
|||
Loading…
Reference in a new issue