mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-28 06:55:23 +00:00
Update
This commit is contained in:
parent
95863e5c9e
commit
627cebbc8a
2 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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":
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue