Skip to content

Weapons

thomas edited this page May 23, 2018 · 11 revisions

This plugins open a Gunmenu to players. Terrorists only on EventDays.

Commands

sm_weapon - Open the weapon menu if enabled (in EventDays/for CT)

set your own custom command. take a look at "sm_weapons_cmds"

ConVars

// 0 - disabled, 1 - enable weapons menu
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_enable "1"

// Set your chat prefix for this plugin.
// -
// Default: "[{green}MyJB.Weapons{default}]"
sm_weapons_prefix "[{green}MyJB.Weapons{default}]"

// Set your custom chat command for weapon menu(!weapon (no 'sm_'/'!')(seperate with comma ', ')(max. 12 commands))
// -
// Default: "gun, guns, weapons, gunmenu, weaponmenu, giveweapon, arms"
sm_weapons_cmds "gun, guns, weapons, gunmenu, weaponmenu, giveweapon, arms"

// 0 - disabled, 1 -  enable autoopen weapon menu on spawn
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_spawnmenu "1"

// 0 - disabled, 1 - enable the weapon menu on non-EventDays round (normal/simon rounds)
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_noeventday "1"

// 0 - disabled, 1 - enable AWP in menu
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_awp "1"

// 0 - disabled, 1 - enable scar20 & g3sg1 in menu
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_autosniper "1"

// 0 - disabled, 1 - enable negev in menu
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_negev "1"

// 0 - disabled, 1 - enable m249 in menu
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_m249 "1"

// 0 - disabled, 1 - warden get a TA grenade with weapons - need MyJB warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_warden_tagrenade "1"

// 0 - disabled, 1 - warden get a healthshot with weapons - need MyJB warden
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_warden_healthshot "1"

// 0 - disabled, 1 - CT get Kevlar & helm on Spawn
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_kevlar "1"

// 0 - remove all armor on eventdays, 1 - give all player armor on eventdays
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_kevlar_eventdays "1"

// 0 - disabled, 1 - enable autoopen the MyJailbreak !menu after weapon given.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_jbmenu "1"

// remove 1. & 2. on first page, to avoid conflict with weapon switch
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_weapons_cleanmenu "1"

// Max usages of !guns command allowed
// -
// Default: "0"
// Minimum: "0.000000"
sm_weapons_max_usages "0"

Files

/addons/sourcemod/plugins/MyJailbreak/weapons.smx
/addons/sourcemod/scripting/MyJailbreak/weapons.sp
/addons/sourcemod/translation/MyJailbreak.Weapons.phrases.txt

Clone this wiki locally