View Single Post
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-25-2011 , 21:20   Re: [CSS] Weapon Restrict
Reply With Quote #708

Quote:
Originally Posted by gwhooooey View Post
Thanks.

Code:
[SM] Listing 72 convars for: Weapon Restrict
  [Name]                           [Value]
  sm_allow_restricted_pickup       0
  sm_perplayer_restrict            0
  sm_restrict_ak47_ct              -1
  sm_restrict_ak47_t               -1
  sm_restrict_aug_ct               -1
  sm_restrict_aug_t                -1
  sm_restrict_awp_ct               -1
  sm_restrict_awp_t                -1
  sm_restrict_c4                   -1
  sm_restrict_deagle_ct            -1
  sm_restrict_deagle_t             -1
  sm_restrict_defuser              -1
  sm_restrict_elite_ct             -1
  sm_restrict_elite_t              -1
  sm_restrict_famas_ct             -1
  sm_restrict_famas_t              -1
  sm_restrict_fiveseven_ct         -1
  sm_restrict_fiveseven_t          -1
  sm_restrict_flashbang_ct         -1
  sm_restrict_flashbang_t          -1
  sm_restrict_g3sg1_ct             -1
  sm_restrict_g3sg1_t              -1
  sm_restrict_galil_ct             -1
  sm_restrict_galil_t              -1
  sm_restrict_glock_ct             -1
  sm_restrict_glock_t              -1
  sm_restrict_hegrenade_ct         -1
  sm_restrict_hegrenade_t          -1
  sm_restrict_m249_ct              -1
  sm_restrict_m249_t               -1
  sm_restrict_m3_ct                -1
  sm_restrict_m3_t                 -1
  sm_restrict_m4a1_ct              -1
  sm_restrict_m4a1_t               -1
  sm_restrict_mac10_ct             -1
  sm_restrict_mac10_t              -1
  sm_restrict_mp5navy_ct           -1
  sm_restrict_mp5navy_t            -1
  sm_restrict_nvgs_ct              -1
  sm_restrict_nvgs_t               -1
  sm_restrict_p228_ct              -1
  sm_restrict_p228_t               -1
  sm_restrict_p90_ct               -1
  sm_restrict_p90_t                -1
  sm_restrict_scout_ct             -1
  sm_restrict_scout_t              -1
  sm_restrict_sg550_ct             -1
  sm_restrict_sg550_t              -1
  sm_restrict_sg552_ct             -1
  sm_restrict_sg552_t              -1
  sm_restrict_smokegrenade_ct      -1
  sm_restrict_smokegrenade_t       -1
  sm_restrict_tmp_ct               -1
  sm_restrict_tmp_t                -1
  sm_restrict_ump45_ct             -1
  sm_restrict_ump45_t              -1
  sm_restrict_usp_ct               -1
  sm_restrict_usp_t                -1
  sm_restrict_vest_ct              -1
  sm_restrict_vest_t               -1
  sm_restrict_vesthelm_ct          -1
  sm_restrict_vesthelm_t           -1
  sm_restrict_xm1014_ct            -1
  sm_restrict_xm1014_t             -1
  sm_warmup_disable_ff             1
  sm_warmup_enable                 1
  sm_warmup_infinite               1
  sm_warmup_respawn                1
  sm_warmup_respawn_time           0.5
  sm_warmup_time                   45
  sm_weapon_restrict_immunity      0
  sm_weaponrestrict_version        2.3.5
Looking at that, they're not restricted. But my config file is like this.
Code:
// This file was auto-generated by SourceMod (v1.3.3-dev)
// ConVars for plugin "weapon_restrict.smx"


// If set to 1 it will NOT remove restricted weapons on pickup but rather on Round start, if set to 0 it will remove on pickup
// -
// Default: "0"
sm_allow_restricted_pickup "0"

// If enabled will restrict awp per player count
// -
// Default: "0"
sm_perplayer_restrict "0"

// Restrict/Unrestrict -1 unrestricts ak47 for ct
// -
// Default: "-1"
sm_restrict_ak47_ct "-1"

// Restrict/Unrestrict -1 unrestricts ak47 for t
// -
// Default: "-1"
sm_restrict_ak47_t "-1"

// Restrict/Unrestrict -1 unrestricts aug for ct
// -
// Default: "-1"
sm_restrict_aug_ct "-1"

// Restrict/Unrestrict -1 unrestricts aug for t
// -
// Default: "-1"
sm_restrict_aug_t "-1"

// Restrict/Unrestrict -1 unrestricts awp for ct
// -
// Default: "-1"
sm_restrict_awp_ct "0"

// Restrict/Unrestrict -1 unrestricts awp for t
// -
// Default: "-1"
sm_restrict_awp_t "0"

// Restrict/Unrestrict -1 unrestricts c4 for t
// -
// Default: "-1"
sm_restrict_c4 "-1"

// Restrict/Unrestrict -1 unrestricts deagle for ct
// -
// Default: "-1"
sm_restrict_deagle_ct "-1"

// Restrict/Unrestrict -1 unrestricts deagle for t
// -
// Default: "-1"
sm_restrict_deagle_t "-1"

// Restrict/Unrestrict -1 unrestricts defuser for ct
// -
// Default: "-1"
sm_restrict_defuser "-1"

// Restrict/Unrestrict -1 unrestricts elite for ct
// -
// Default: "-1"
sm_restrict_elite_ct "-1"

// Restrict/Unrestrict -1 unrestricts elite for t
// -
// Default: "-1"
sm_restrict_elite_t "-1"

// Restrict/Unrestrict -1 unrestricts famas for ct
// -
// Default: "-1"
sm_restrict_famas_ct "-1"

// Restrict/Unrestrict -1 unrestricts famas for t
// -
// Default: "-1"
sm_restrict_famas_t "-1"

// Restrict/Unrestrict -1 unrestricts fiveseven for ct
// -
// Default: "-1"
sm_restrict_fiveseven_ct "-1"

// Restrict/Unrestrict -1 unrestricts fiveseven for t
// -
// Default: "-1"
sm_restrict_fiveseven_t "-1"

// Restrict/Unrestrict -1 unrestricts flashbang for ct
// -
// Default: "-1"
sm_restrict_flashbang_ct "-1"

// Restrict/Unrestrict -1 unrestricts flashbang for t
// -
// Default: "-1"
sm_restrict_flashbang_t "-1"

// Restrict/Unrestrict -1 unrestricts g3sg1 for ct
// -
// Default: "-1"
sm_restrict_g3sg1_ct "0"

// Restrict/Unrestrict -1 unrestricts g3sg1 for t
// -
// Default: "-1"
sm_restrict_g3sg1_t "0"

// Restrict/Unrestrict -1 unrestricts galil for ct
// -
// Default: "-1"
sm_restrict_galil_ct "-1"

// Restrict/Unrestrict -1 unrestricts galil for t
// -
// Default: "-1"
sm_restrict_galil_t "-1"

// Restrict/Unrestrict -1 unrestricts glock for ct
// -
// Default: "-1"
sm_restrict_glock_ct "-1"

// Restrict/Unrestrict -1 unrestricts glock for t
// -
// Default: "-1"
sm_restrict_glock_t "-1"

// Restrict/Unrestrict -1 unrestricts hegrenade for ct
// -
// Default: "-1"
sm_restrict_hegrenade_ct "-1"

// Restrict/Unrestrict -1 unrestricts hegrenade for ct
// -
// Default: "-1"
sm_restrict_hegrenade_t "-1"

// Restrict/Unrestrict -1 unrestricts m249 for ct
// -
// Default: "-1"
sm_restrict_m249_ct "-1"

// Restrict/Unrestrict -1 unrestricts m249 for t
// -
// Default: "-1"
sm_restrict_m249_t "-1"

// Restrict/Unrestrict -1 unrestricts m3 for ct
// -
// Default: "-1"
sm_restrict_m3_ct "-1"

// Restrict/Unrestrict -1 unrestricts m3 for t
// -
// Default: "-1"
sm_restrict_m3_t "-1"

// Restrict/Unrestrict -1 unrestricts m4a1 for ct
// -
// Default: "-1"
sm_restrict_m4a1_ct "-1"

// Restrict/Unrestrict -1 unrestricts m4a1 for t
// -
// Default: "-1"
sm_restrict_m4a1_t "-1"

// Restrict/Unrestrict -1 unrestricts mac10 for ct
// -
// Default: "-1"
sm_restrict_mac10_ct "-1"

// Restrict/Unrestrict -1 unrestricts mac10 for t
// -
// Default: "-1"
sm_restrict_mac10_t "-1"

// Restrict/Unrestrict -1 unrestricts mp5navy for ct
// -
// Default: "-1"
sm_restrict_mp5navy_ct "-1"

// Restrict/Unrestrict -1 unrestricts mp5navy for t
// -
// Default: "-1"
sm_restrict_mp5navy_t "-1"

// Restrict/Unrestrict -1 unrestricts nvgs for ct
// -
// Default: "-1"
sm_restrict_nvgs_ct "-1"

// Restrict/Unrestrict -1 unrestricts nvgs for t
// -
// Default: "-1"
sm_restrict_nvgs_t "-1"

// Restrict/Unrestrict -1 unrestricts p228 for ct
// -
// Default: "-1"
sm_restrict_p228_ct "-1"

// Restrict/Unrestrict -1 unrestricts p228 for t
// -
// Default: "-1"
sm_restrict_p228_t "-1"

// Restrict/Unrestrict -1 unrestricts p90 for ct
// -
// Default: "-1"
sm_restrict_p90_ct "-1"

// Restrict/Unrestrict -1 unrestricts p90 for t
// -
// Default: "-1"
sm_restrict_p90_t "-1"

// Restrict/Unrestrict -1 unrestricts scout for ct
// -
// Default: "-1"
sm_restrict_scout_ct "-1"

// Restrict/Unrestrict -1 unrestricts scout for t
// -
// Default: "-1"
sm_restrict_scout_t "-1"

// Restrict/Unrestrict -1 unrestricts sg550 for ct
// -
// Default: "-1"
sm_restrict_sg550_ct "0"

// Restrict/Unrestrict -1 unrestricts sg550 for t
// -
// Default: "-1"
sm_restrict_sg550_t "0"

// Restrict/Unrestrict -1 unrestricts sg552 for ct
// -
// Default: "-1"
sm_restrict_sg552_ct "-1"

// Restrict/Unrestrict -1 unrestricts sg552 for t
// -
// Default: "-1"
sm_restrict_sg552_t "-1"

// Restrict/Unrestrict -1 unrestricts smokegrenade for ct
// -
// Default: "-1"
sm_restrict_smokegrenade_ct "-1"

// Restrict/Unrestrict -1 unrestricts smokegrenade for t
// -
// Default: "-1"
sm_restrict_smokegrenade_t "-1"

// Restrict/Unrestrict -1 unrestricts tmp for ct
// -
// Default: "-1"
sm_restrict_tmp_ct "-1"

// Restrict/Unrestrict -1 unrestricts tmp for t
// -
// Default: "-1"
sm_restrict_tmp_t "-1"

// Restrict/Unrestrict -1 unrestricts ump45 for ct
// -
// Default: "-1"
sm_restrict_ump45_ct "-1"

// Restrict/Unrestrict -1 unrestricts ump45 for t
// -
// Default: "-1"
sm_restrict_ump45_t "-1"

// Restrict/Unrestrict -1 unrestricts usp for ct
// -
// Default: "-1"
sm_restrict_usp_ct "-1"

// Restrict/Unrestrict -1 unrestricts usp for t
// -
// Default: "-1"
sm_restrict_usp_t "-1"

// Restrict/Unrestrict -1 unrestricts vest for ct
// -
// Default: "-1"
sm_restrict_vest_ct "-1"

// Restrict/Unrestrict -1 unrestricts vest for t
// -
// Default: "-1"
sm_restrict_vest_t "-1"

// Restrict/Unrestrict -1 unrestricts vesthelm for ct
// -
// Default: "-1"
sm_restrict_vesthelm_ct "-1"

// Restrict/Unrestrict -1 unrestricts vesthelm for t
// -
// Default: "-1"
sm_restrict_vesthelm_t "-1"

// Restrict/Unrestrict -1 unrestricts xm1014 for ct
// -
// Default: "-1"
sm_restrict_xm1014_ct "-1"

// Restrict/Unrestrict -1 unrestricts xm1014 for t
// -
// Default: "-1"
sm_restrict_xm1014_t "-1"

// If 1 disables ff during warmup. If 0 leaves ff enabled
// -
// Default: "1"
sm_warmup_disable_ff "1"

// Enable warmup.
// -
// Default: "1"
sm_warmup_enable "0"

// Weather or not give infinite grenades if warmup weapon is grenades
// -
// Default: "1"
sm_warmup_infinite "1"

// Respawn players during warmup
// -
// Default: "1"
sm_warmup_respawn "1"

// Time after death before respawning player
// -
// Default: "0.5"
sm_warmup_respawn_time "1"

// How long in seconds warmup lasts
// -
// Default: "45"
sm_warmup_time "30"

// Enables admin immunity so admins can buy restricted weapons
// -
// Default: "0"
sm_weapon_restrict_immunity "0"
So I'm not sure why it's different. Maybe my host (multiplay.co.uk) are idiots and have uploaded it in the wrong place or something?


Edit - Also weird, is that it says warm up is enabled under sm cvars 24, yet when playing on the server, there is no warm up.
Yea make sure the file is in cfg/sourcemod/ Since it looks like its using all default. Either the file is in the wrong place or some other config is setting it after execing the config. Which would make sense if you dont see warmup since warmup is started once the file is execed so if you have it to 0 and some other config sets it back to 1 then that would be the issue. By any chance do you have any per map configs?
Dr!fter is offline