mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-13 15:14:34 +00:00
VoteSystem Redo (Goon Style)
A lot less code Not a mess anymore VoteHud support Remove SetNextMission Elements
This commit is contained in:
parent
2ca68a34d2
commit
6e9a4d4475
7 changed files with 925 additions and 1199 deletions
|
|
@ -1088,7 +1088,7 @@ function LakRabbitGame::sendGameVoteMenu( %game, %client, %key )
|
|||
//Added so lak vote items are properly displayed in evo adminvotemenu
|
||||
//A lot of changes were added to admin.ovl in evo
|
||||
//see footnotes below
|
||||
else if (%client.ForceVote > 0 && %client.NextMission !$= 1 ) //Added for SetNextMission
|
||||
else if (%client.ForceVote > 0)
|
||||
{
|
||||
if(!Game.duelMode)
|
||||
messageClient( %client, 'MsgVoteItem', "", %key, 'VoteDuelMode', 'Enable Duel Mode', 'Vote to enable Duel Mode' );
|
||||
|
|
@ -1105,7 +1105,7 @@ function LakRabbitGame::sendGameVoteMenu( %game, %client, %key )
|
|||
else
|
||||
messageClient( %client, 'MsgVoteItem', "", %key, 'VotePro', 'Disable Pro Mode', 'Vote to disable Pro Mode' );
|
||||
}
|
||||
else if ( %client.NextMission !$= 1 ) //Added for SetNextMission
|
||||
else
|
||||
{
|
||||
if(!Game.duelMode)
|
||||
messageClient( %client, 'MsgVoteItem', "", %key, 'VoteDuelMode', 'Enable Duel Mode', 'Enable Duel Mode' );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue