TacoServer/autoexec/VoteSound.cs

14 lines
369 B
C#
Raw Normal View History

2018-08-07 06:50:49 +00:00
//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);
//$VoteSoundSchedule = schedule(12000, "VoteSound", %game);
schedule(12000, 0, "VoteSound", %game);
}
else
return;
}