2018-08-07 02:50:49 -04:00
|
|
|
//Make a sound every so seconds to make sure everyone votes
|
2019-02-12 21:48:53 -05:00
|
|
|
//
|
|
|
|
|
// Enable or Disable VoteSound
|
|
|
|
|
// $Host::EnableVoteSound = 1;
|
2018-08-07 02:50:49 -04:00
|
|
|
|
2018-12-04 18:41:06 -05:00
|
|
|
function VoteSound( %game )
|
|
|
|
|
{
|
|
|
|
|
|
2019-02-12 21:48:53 -05:00
|
|
|
if( $VoteSoundInProgress && $Host::EnableVoteSound )
|
2018-12-04 18:41:06 -05:00
|
|
|
{
|
|
|
|
|
messageAll('', '\c1Vote in Progress: \c0Press Insert for Yes or Delete for No.~wgui/objective_notification.wav', %display);
|
|
|
|
|
schedule(12000, 0, "VoteSound", %game);
|
2018-08-07 02:50:49 -04:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
}
|