View Single Post
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 09-03-2012 , 18:01   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1202

Quote:
Originally Posted by paterinvictus View Post
Any way I can restrict weapons on specific maps? ie: making de_westwood shotguns and pistols only?

cheers!
This plugin works great in CSS and CSGO. Here's my configs for just allowing shotguns, grenades and pistols:

cfg/sourcemod/map-cfg/de_westwood.cfg:
Code:
sm_restrict_ak47_ct "0"
sm_restrict_ak47_t "0"
sm_restrict_aug_ct "0"
sm_restrict_aug_t "0"
sm_restrict_awp_ct "0"
sm_restrict_awp_t "0
sm_restrict_bizon_ct "0"
sm_restrict_bizon_t "0"
sm_restrict_c4 "-1"
sm_restrict_deagle_ct "-1"
sm_restrict_deagle_t "-1"
sm_restrict_decoy_ct "-1"
sm_restrict_decoy_t "-1"
sm_restrict_defuser "-1"
sm_restrict_elite_ct "-1"
sm_restrict_elite_t "-1"
sm_restrict_famas_ct "0"
sm_restrict_famas_t "0"
sm_restrict_fiveseven_ct "-1"
sm_restrict_fiveseven_t "-1"
sm_restrict_flashbang_ct "-1"
sm_restrict_flashbang_t "-1"
sm_restrict_g3sg1_ct "0"
sm_restrict_g3sg1_t "0"
sm_restrict_galilar_ct "0"
sm_restrict_galilar_t "0"
sm_restrict_glock_ct "-1"
sm_restrict_glock_t "-1"
sm_restrict_hegrenade_ct "-1"
sm_restrict_hegrenade_t "-1"
sm_restrict_hkp2000_ct "-1"
sm_restrict_hkp2000_t "-1"
sm_restrict_incgrenade_ct "2
sm_restrict_incgrenade_t "2
sm_restrict_knife_ct "-1"
sm_restrict_knife_t "-1"
sm_restrict_knifegg_ct "-1"
sm_restrict_knifegg_t "-1"
sm_restrict_m249_ct "0"
sm_restrict_m249_t "0"
sm_restrict_m4a1_ct "0"
sm_restrict_m4a1_t "0"
sm_restrict_mac10_ct "0"
sm_restrict_mac10_t "0"
sm_restrict_mag7_ct "-1"
sm_restrict_mag7_t "-1"
sm_restrict_molotov_ct "2
sm_restrict_molotov_t "2
sm_restrict_mp7_ct "0"
sm_restrict_mp7_t "0"
sm_restrict_mp9_ct "0"
sm_restrict_mp9_t "0"
sm_restrict_negev_ct "0"
sm_restrict_negev_t "0"
sm_restrict_nova_ct "-1"
sm_restrict_nova_t "-1"
sm_restrict_nvgs_ct "-1"
sm_restrict_nvgs_t "-1"
sm_restrict_p250_ct "-1"
sm_restrict_p250_t "-1"
sm_restrict_p90_ct "0"
sm_restrict_p90_t "0"
sm_restrict_sawedoff_ct "-1"
sm_restrict_sawedoff_t "-1"
sm_restrict_scar20_ct "0"
sm_restrict_scar20_t "0"
sm_restrict_sg556_ct "0"
sm_restrict_sg556_t "0"
sm_restrict_smokegrenade_ct "-1"
sm_restrict_smokegrenade_t "-1"
sm_restrict_ssg08_ct "0"
sm_restrict_ssg08_t "0"
sm_restrict_taser_ct "-1"
sm_restrict_taser_t "-1"
sm_restrict_tec9_ct "-1"
sm_restrict_tec9_t "-1"
sm_restrict_ump45_ct "0"
sm_restrict_ump45_t "0"
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"
well... still one problem. You can buy all weapons but you can't use restrict ones (exept molotovs you can buy only 2/team)
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.

Last edited by VJScope; 09-03-2012 at 18:06.
VJScope is offline