TacoServer/Classic/scripts/autoexec/VoteSound.cs
2018-12-04 18:41:06 -05:00

15 lines
311 B
C#

//Make a sound every so seconds to make sure everyone votes
function VoteSound( %game )
{
if($VoteSoundInProgress)
{
messageAll('', '\c1Vote in Progress: \c0Press Insert for Yes or Delete for No.~wgui/objective_notification.wav', %display);
schedule(12000, 0, "VoteSound", %game);
}
else
return;
}