Scripts.included.gg leaderweapon warning

From GunGame5 Documentation

Revision as of 04:50, 22 March 2011 by Satoon101 (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

gg_leaderweapon_warning is used to play a sound when a player is on Nade or Knife level.

  • The sound will play when a player first levels up to Nade or Knife level.
  • The sound will also play at the start of any round where at least 1 player is on Nade or Knife level.
  • If there are players on both Knife and Nade at the start of a round, the Knife sound will be played.


Variables

gg_leaderweapon_warning contains the following cvars that can be found in your server's ../cfg/gungame51/included_addon_configs/gg_leaderweapon_warning.cfg file:
// ============================================================================
// >> GUNGAME LEADER WEAPON WARNING
// ============================================================================
// Description:
//    Announces via sound at the beginning of each round when a player
// information.
//      has reached either "hegrenade" or "knife" level.
// Options:
//    0 = (Disabled)
//    1 = (Enabled)
// Default Value: 0

// Play a sound when a player reaches "hegrenade" or "knife" level.
   gg_leaderweapon_warning 1
Personal tools