mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-16 08:34:43 +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
|
|
@ -65,6 +65,7 @@ $Host::EnableNoBaseRapeNotify = 1;
|
||||||
$Host::EnableSetNextMission = 1;
|
$Host::EnableSetNextMission = 1;
|
||||||
$Host::EnableTeamBalanceNotify = 1;
|
$Host::EnableTeamBalanceNotify = 1;
|
||||||
$Host::EnableTurretPlayerCount = 10;
|
$Host::EnableTurretPlayerCount = 10;
|
||||||
|
$Host::EnableVoteSound = 1;
|
||||||
$Host::EvoAdminAdmin = 0;
|
$Host::EvoAdminAdmin = 0;
|
||||||
$Host::EvoAdminBan = 0;
|
$Host::EvoAdminBan = 0;
|
||||||
$Host::EvoAdminClanLock = 0;
|
$Host::EvoAdminClanLock = 0;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,12 @@
|
||||||
//Make a sound every so seconds to make sure everyone votes
|
//Make a sound every so seconds to make sure everyone votes
|
||||||
|
//
|
||||||
|
// Enable or Disable VoteSound
|
||||||
|
// $Host::EnableVoteSound = 1;
|
||||||
|
|
||||||
function VoteSound( %game )
|
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);
|
messageAll('', '\c1Vote in Progress: \c0Press Insert for Yes or Delete for No.~wgui/objective_notification.wav', %display);
|
||||||
schedule(12000, 0, "VoteSound", %game);
|
schedule(12000, 0, "VoteSound", %game);
|
||||||
|
|
|
||||||
|
|
@ -181,6 +181,7 @@ $Host::EnableMortarTurret = 0; //Enable or Disable Mortar Turret
|
||||||
$Host::EnableNoBaseRapeNotify = 1; //Get a base rape notification
|
$Host::EnableNoBaseRapeNotify = 1; //Get a base rape notification
|
||||||
$Host::EnableTeamBalanceNotify = 1; //Get a teambalance notification
|
$Host::EnableTeamBalanceNotify = 1; //Get a teambalance notification
|
||||||
$Host::EnableTurretPlayerCount = 10; //How many to enable turrets
|
$Host::EnableTurretPlayerCount = 10; //How many to enable turrets
|
||||||
|
$Host::EnableVoteSound = 1; //If you want a sound chime during voting
|
||||||
$Host::AntiCloakEnable = 1; //Enable or disable AntiCloak
|
$Host::AntiCloakEnable = 1; //Enable or disable AntiCloak
|
||||||
$Host::AntiCloakPlayerCount = 6; //How many to enable Cloak
|
$Host::AntiCloakPlayerCount = 6; //How many to enable Cloak
|
||||||
$Host::PUGautoPassword = 0; //Enable or Disable an auto password at a certain amount of players
|
$Host::PUGautoPassword = 0; //Enable or Disable an auto password at a certain amount of players
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue