mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Update VoteMenu.cs
This commit is contained in:
parent
4869e3b821
commit
21da7700e5
|
|
@ -569,15 +569,7 @@ function playerStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %tea
|
|||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(%typeName $= "VoteChangeTimeLimit")
|
||||
{
|
||||
if(%arg1 $= "999")
|
||||
%time = "Unlimited";
|
||||
else
|
||||
%time = %arg1;
|
||||
}
|
||||
|
||||
{
|
||||
%count = ClientGroup.getCount();
|
||||
for(%i = 0; %i < %count; %i++)
|
||||
{
|
||||
|
|
@ -592,6 +584,7 @@ function playerStartNewVote(%client, %typeName, %arg1, %arg2, %arg3, %arg4, %tea
|
|||
case "VoteSkipMission":
|
||||
messageClient( %cl, 'VoteStarted', "\c2" @ %msg, %client.name, "skip the mission");
|
||||
case "VoteChangeTimeLimit":
|
||||
if(%arg1 $= "999") %time = "Unlimited"; else %time = %arg1;
|
||||
messageClient( %cl, 'VoteStarted', "\c2" @ %msg, %client.name, "change the time limit to", %time);
|
||||
case "VoteKickPlayer":
|
||||
messageClient( %cl, 'VoteStarted', "\c2" @ %msg, %client.name, "kick player", %arg1.name);
|
||||
|
|
|
|||
Loading…
Reference in a new issue