Scripts.included.gg leaderweapon warning
From GunGame5 Documentation
(Difference between revisions)
(Created page with '== 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 Kn...') |
|||
Line 1: | Line 1: | ||
- | + | {{Addons| | |
- | + | ||
+ | |||
+ | name=gg_leaderweapon_warning| | ||
+ | |||
+ | |||
+ | description=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 play when a player first levels up to Nade or Knife level. | ||
Line 6: | Line 11: | ||
*The sound will also play at the start of any round where at least 1 player is on 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. | + | *If there are players on both Knife and Nade at the start of a round, the Knife sound will be played.| |
+ | |||
+ | |||
+ | cfg_file=included_addon_configs/gg_leaderweapon_warning| | ||
- | = | + | cfg_contents=<pre>// ============================================================================ |
- | + | ||
// >> GUNGAME LEADER WEAPON WARNING | // >> GUNGAME LEADER WEAPON WARNING | ||
// ============================================================================ | // ============================================================================ | ||
Line 23: | Line 30: | ||
// Play a sound when a player reaches "hegrenade" or "knife" level. | // Play a sound when a player reaches "hegrenade" or "knife" level. | ||
- | gg_leaderweapon_warning 1</pre> | + | gg_leaderweapon_warning 1</pre>}} |
Current revision as of 22:48, 22 March 2011
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