mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-29 15:35:24 +00:00
Header update
This commit is contained in:
parent
603e05a9e4
commit
6273662bfc
1 changed files with 12 additions and 8 deletions
|
|
@ -61,15 +61,19 @@ function DefaultGame::sendGameVoteMenu(%game, %client, %key)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($CurrentMissionType $= "CTF" || $CurrentMissionType $= "SCtF")
|
//Mission Info Header - Mission Name, Type, Caps to Win
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, '', $MissionDisplayName SPC "(" @ $MissionTypeDisplayName @ "):" SPC MissionGroup.CTF_scoreLimit SPC "Caps to Win",
|
if(%client.canVote)
|
||||||
$MissionDisplayName SPC "(" @ $MissionTypeDisplayName @ "):" SPC MissionGroup.CTF_scoreLimit SPC "Caps to Win");
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
if($CurrentMissionType $= "LakRabbit") %cap = "2000 Points to Win";
|
if($CurrentMissionType $= "CTF" || $CurrentMissionType $= "SCtF")
|
||||||
else %cap = "25 Points to Win"; //DM
|
messageClient(%client, 'MsgVoteItem', "", %key, '', $MissionDisplayName SPC "(" @ $MissionTypeDisplayName @ "):" SPC MissionGroup.CTF_scoreLimit SPC "Caps to Win",
|
||||||
messageClient(%client, 'MsgVoteItem', "", %key, '', $MissionDisplayName SPC "(" @ $MissionTypeDisplayName @ "):" SPC %cap,
|
$MissionDisplayName SPC "(" @ $MissionTypeDisplayName @ "):" SPC MissionGroup.CTF_scoreLimit SPC "Caps to Win");
|
||||||
$MissionDisplayName SPC "(" @ $MissionTypeDisplayName @ "):" SPC %cap);
|
else
|
||||||
|
{
|
||||||
|
if($CurrentMissionType $= "LakRabbit") %cap = "2000 Points to Win";
|
||||||
|
else %cap = "25 Points to Win"; //DM
|
||||||
|
messageClient(%client, 'MsgVoteItem', "", %key, '', $MissionDisplayName SPC "(" @ $MissionTypeDisplayName @ "):" SPC %cap,
|
||||||
|
$MissionDisplayName SPC "(" @ $MissionTypeDisplayName @ "):" SPC %cap);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TEAM OPTIONS
|
// TEAM OPTIONS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue