mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-26 05:55:22 +00:00
Added EnableVoteSound string
Votesound can be turned off and on
This commit is contained in:
parent
61ea3e5ae3
commit
bc25984a5b
3 changed files with 6 additions and 1 deletions
|
|
@ -1,9 +1,12 @@
|
|||
//Make a sound every so seconds to make sure everyone votes
|
||||
//
|
||||
// Enable or Disable VoteSound
|
||||
// $Host::EnableVoteSound = 1;
|
||||
|
||||
function VoteSound( %game )
|
||||
{
|
||||
|
||||
if($VoteSoundInProgress)
|
||||
if( $VoteSoundInProgress && $Host::EnableVoteSound )
|
||||
{
|
||||
messageAll('', '\c1Vote in Progress: \c0Press Insert for Yes or Delete for No.~wgui/objective_notification.wav', %display);
|
||||
schedule(12000, 0, "VoteSound", %game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue