mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-12 22:54:33 +00:00
Took out
This commit is contained in:
parent
7da510530e
commit
c8a2205caa
1 changed files with 1 additions and 30 deletions
|
|
@ -171,11 +171,6 @@ function DefaultGame::sendGameVoteMenu(%game, %client, %key)
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Disable PUG Password', 'Disable PUG Password');
|
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Disable PUG Password', 'Disable PUG Password');
|
||||||
else
|
else
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Enable PUG Password', 'Enable PUG Password');
|
messageClient(%client, 'MsgVoteItem', "", %key, 'TogglePUGpassword', 'Enable PUG Password', 'Enable PUG Password');
|
||||||
|
|
||||||
if(!$IFFColors)
|
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, 'ToggleIFFColors', 'Enable Alt IFF Colors', 'Enable Alt IFF Colors');
|
|
||||||
else
|
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, 'ToggleIFFColors', 'Disable Alt IFF Colors', 'Disable Alt IFF Colors');
|
|
||||||
}
|
}
|
||||||
// if(%multipleTeams)
|
// if(%multipleTeams)
|
||||||
// {
|
// {
|
||||||
|
|
@ -548,26 +543,6 @@ function serverCmdStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
case "ToggleIFFColors":
|
|
||||||
if (%client.isAdmin && $Host::TournamentMode)
|
|
||||||
{
|
|
||||||
if(!$IFFColors)
|
|
||||||
{
|
|
||||||
// Red Green Blue Alpha - may need some fine tuning
|
|
||||||
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
|
|
||||||
{
|
|
||||||
// Red Green Blue Alpha - may need some fine tuning
|
|
||||||
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":
|
case "ForceVote":
|
||||||
if (%client.isAdmin && $Host::AllowAdminVotes)
|
if (%client.isAdmin && $Host::AllowAdminVotes)
|
||||||
{
|
{
|
||||||
|
|
@ -705,10 +680,6 @@ function DefaultGame::gameOver(%game)
|
||||||
|
|
||||||
//Reset ClassicMaxMapChangeVotes
|
//Reset ClassicMaxMapChangeVotes
|
||||||
deleteVariables("$CMHasVoted*"); // Eolk - let people who have voted vote again
|
deleteVariables("$CMHasVoted*"); // Eolk - let people who have voted vote again
|
||||||
|
|
||||||
//Reset IFF Colors
|
|
||||||
if($IFFColors)
|
|
||||||
$IFFColors = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function DefaultGame::cancelMatchStart(%game, %admin)
|
function DefaultGame::cancelMatchStart(%game, %admin)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue