mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-13 15:14:34 +00:00
Formatting
This commit is contained in:
parent
4f919d5af9
commit
64aa8dc148
1 changed files with 7 additions and 6 deletions
|
|
@ -152,9 +152,10 @@ function DefaultGame::sendGameVoteMenu(%game, %client, %key)
|
||||||
{
|
{
|
||||||
if(!$MatchStarted && !$CountdownStarted)
|
if(!$MatchStarted && !$CountdownStarted)
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, 'VoteMatchStart', 'Start Match', 'Vote to Start the Match');
|
messageClient(%client, 'MsgVoteItem', "", %key, 'VoteMatchStart', 'Start Match', 'Vote to Start the Match');
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, 'VoteChangeMission', 'change the mission to', 'Vote to Change the Mission');
|
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, 'VoteFFAMode', 'Change server to Free For All.', 'Vote Free For All Mode');
|
messageClient(%client, 'MsgVoteItem', "", %key, 'VoteChangeMission', 'change the mission to', 'Vote to Change the Mission');
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, 'VoteChangeTimeLimit', 'change the time limit', 'Vote to Change the Time Limit');
|
messageClient(%client, 'MsgVoteItem', "", %key, 'VoteFFAMode', 'Change server to Free For All.', 'Vote Free For All Mode');
|
||||||
|
messageClient(%client, 'MsgVoteItem', "", %key, 'VoteChangeTimeLimit', 'change the time limit', 'Vote to Change the Time Limit');
|
||||||
|
|
||||||
if(%multipleTeams)
|
if(%multipleTeams)
|
||||||
{
|
{
|
||||||
|
|
@ -1499,7 +1500,7 @@ function serverCmdClientJoinGame(%client)
|
||||||
{
|
{
|
||||||
if($LockedTeams)
|
if($LockedTeams)
|
||||||
{
|
{
|
||||||
messageClient( %client, '', "Teams are locked. Ask the admin to set your team." );
|
messageClient( %client, '', "Teams are locked. Ask an admin to set your team." );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Parent::serverCmdClientJoinGame(%client);
|
Parent::serverCmdClientJoinGame(%client);
|
||||||
|
|
@ -1512,7 +1513,7 @@ function serverCmdClientPickedTeam(%client, %option)
|
||||||
{
|
{
|
||||||
if($Host::TournamentMode && %client.team !$= 0) //Added
|
if($Host::TournamentMode && %client.team !$= 0) //Added
|
||||||
{
|
{
|
||||||
messageClient( %client, '', "Teams are locked. Ask the admin to set your team." );
|
messageClient( %client, '', "Teams are locked. Ask an admin to set your team." );
|
||||||
serverCmdClientMakeObserver( %client );
|
serverCmdClientMakeObserver( %client );
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|
@ -1523,7 +1524,7 @@ function serverCmdClientTeamChange(%client, %option)
|
||||||
{
|
{
|
||||||
if($LockedTeams)
|
if($LockedTeams)
|
||||||
{
|
{
|
||||||
messageClient( %client, '', "Teams are locked. Ask the admin to set your team." );
|
messageClient( %client, '', "Teams are locked. Ask an admin to set your team." );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Parent::serverCmdClientTeamChange(%client, %option);
|
Parent::serverCmdClientTeamChange(%client, %option);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue