Scripts.included.gg friendlyfire

From GunGame5 Documentation

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

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