Scripts.included.gg friendlyfire

From GunGame5 Documentation

(Difference between revisions)
Jump to: navigation, search
(Created page with '== Description == '''gg_friendlyfire''' turns Friendly Fire on when the leader reaches a specific level. == Variables == '''gg_friendlyfire''' contains the following cvars that...')
 
Line 1: Line 1:
-
== Description ==
+
{{Addons|
-
'''gg_friendlyfire''' turns Friendly Fire on when the leader reaches a specific level.
+
-
== Variables ==
+
name=gg_friendlyfire|
-
'''gg_friendlyfire''' contains the following cvars that can be found in your server's <span style="color:red">../cfg/gungame51/included_addon_configs/gg_friendlyfire.cfg</span> file:<pre>// ============================================================================
+
 
 +
 
 +
description=turns Friendly Fire on when the leader reaches a specific level.|
 +
 
 +
 
 +
cfg_file=included_addon_configs/gg_friendlyfire|
 +
 
 +
 
 +
cfg_contents=<pre>// ============================================================================
// >> FRIENDLY FIRE
// >> FRIENDLY FIRE
// ============================================================================
// ============================================================================
Line 24: Line 31:
// The number (+1) of levels below the last level to enable friendly fire.
// The number (+1) of levels below the last level to enable friendly fire.
-
   gg_friendlyfire 0</pre>
+
   gg_friendlyfire 0</pre>}}

Current revision as of 22:39, 22 March 2011


Description

gg_friendlyfire turns Friendly Fire on when the leader reaches a specific level.


Variables

gg_friendlyfire contains the following cvars that can be found in your server's ../cfg/gungame51/included_addon_configs/gg_friendlyfire.cfg file:
// ============================================================================
// >> FRIENDLY FIRE
// ============================================================================
// Description:
//    Automatically turn on friendly fire when a player reaches "x" levels
//    below the last level (+1).
// Examples:
//    * gg_friendlyfire 1
//        - The above will turn on friendly fire when a player reaches the last
//          level.
//    * gg_friendlyfire 2
//         - The above will turn on friendly fire when a player reaches one
//           level before the last.
// Options:
//    0 = (Disabled) Do not load gg_friendlyfire.
//    # = (Enabled) Turn on friendly fire when a player reaches "#" (+1) levels
//                  below the last level.
// Default Value: 0

// The number (+1) of levels below the last level to enable friendly fire.
   gg_friendlyfire 0
Personal tools