Raised This Month: $51 Target: $400
 12% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
tazzle0870
Senior Member
Join Date: May 2010
Old 12-30-2016 , 06:05   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1891

// This file was auto-generated by SourceMod (v1.8.0.592
// ConVars for plugin "weapon_restrict.smx"


// Set to 0 to allow awp pickup ONLY if it is under the max allowed. Set to 1 to use sm_allow_restricted_pickup method.
// -
// Default: "1"
sm_allow_awp_pickup "1"

// Set to 0 to ONLY allow pickup if under the max allowed. Set to 1 to allow restricted weapon pickup
// -
// Default: "0"
sm_allow_restricted_pickup "0"

// If enabled will count bots in per player restricts
// -
// Default: "1"
sm_perplayer_bots "1"

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

// If enabled will count specs in per player restricts
// -
// Default: "1"
sm_perplayer_specs "1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:ak47
// -
// Default: "-1"
sm_restrict_ak47_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:ak47
// -
// Default: "-1"
sm_restrict_ak47_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:aug
// -
// Default: "-1"
sm_restrict_aug_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:aug
// -
// Default: "-1"
sm_restrict_aug_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:awp
// -
// Default: "-1"
sm_restrict_awp_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:awp
// -
// Default: "-1"
sm_restrict_awp_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:c4
// -
// Default: "-1"
sm_restrict_c4 "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:deagle
// -
// Default: "-1"
sm_restrict_deagle_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:deagle
// -
// Default: "-1"
sm_restrict_deagle_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:defuser
// -
// Default: "-1"
sm_restrict_defuser "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:elite
// -
// Default: "-1"
sm_restrict_elite_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:elite
// -
// Default: "-1"
sm_restrict_elite_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:famas
// -
// Default: "-1"
sm_restrict_famas_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:famas
// -
// Default: "-1"
sm_restrict_famas_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:fiveseven
// -
// Default: "-1"
sm_restrict_fiveseven_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:fiveseven
// -
// Default: "-1"
sm_restrict_fiveseven_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:flashbang
// -
// Default: "-1"
sm_restrict_flashbang_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:flashbang
// -
// Default: "-1"
sm_restrict_flashbang_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:g3sg1
// -
// Default: "-1"
sm_restrict_g3sg1_ct "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:g3sg1
// -
// Default: "-1"
sm_restrict_g3sg1_t "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:galil
// -
// Default: "-1"
sm_restrict_galil_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:galil
// -
// Default: "-1"
sm_restrict_galil_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:glock
// -
// Default: "-1"
sm_restrict_glock_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:glock
// -
// Default: "-1"
sm_restrict_glock_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:hegrenade
// -
// Default: "-1"
sm_restrict_hegrenade_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:hegrenade
// -
// Default: "-1"
sm_restrict_hegrenade_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:knife
// -
// Default: "-1"
sm_restrict_knife_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:knife
// -
// Default: "-1"
sm_restrict_knife_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:m249
// -
// Default: "-1"
sm_restrict_m249_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:m249
// -
// Default: "-1"
sm_restrict_m249_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:m3
// -
// Default: "-1"
sm_restrict_m3_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:m3
// -
// Default: "-1"
sm_restrict_m3_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:m4a1
// -
// Default: "-1"
sm_restrict_m4a1_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:m4a1
// -
// Default: "-1"
sm_restrict_m4a1_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:mac10
// -
// Default: "-1"
sm_restrict_mac10_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:mac10
// -
// Default: "-1"
sm_restrict_mac10_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:mp5navy
// -
// Default: "-1"
sm_restrict_mp5navy_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:mp5navy
// -
// Default: "-1"
sm_restrict_mp5navy_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:nvgs
// -
// Default: "-1"
sm_restrict_nvgs_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:nvgs
// -
// Default: "-1"
sm_restrict_nvgs_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:p228
// -
// Default: "-1"
sm_restrict_p228_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:p228
// -
// Default: "-1"
sm_restrict_p228_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:p90
// -
// Default: "-1"
sm_restrict_p90_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:p90
// -
// Default: "-1"
sm_restrict_p90_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:scout
// -
// Default: "-1"
sm_restrict_scout_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:scout
// -
// Default: "-1"
sm_restrict_scout_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:sg550
// -
// Default: "-1"
sm_restrict_sg550_ct "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:sg550
// -
// Default: "-1"
sm_restrict_sg550_t "0"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:sg552
// -
// Default: "-1"
sm_restrict_sg552_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:sg552
// -
// Default: "-1"
sm_restrict_sg552_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:smokegrenade
// -
// Default: "-1"
sm_restrict_smokegrenade_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:smokegrenade
// -
// Default: "-1"
sm_restrict_smokegrenade_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:tmp
// -
// Default: "-1"
sm_restrict_tmp_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:tmp
// -
// Default: "-1"
sm_restrict_tmp_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:ump45
// -
// Default: "-1"
sm_restrict_ump45_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:ump45
// -
// Default: "-1"
sm_restrict_ump45_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:usp
// -
// Default: "-1"
sm_restrict_usp_ct "19"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:usp
// -
// Default: "-1"
sm_restrict_usp_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:vest
// -
// Default: "-1"
sm_restrict_vest_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:vest
// -
// Default: "-1"
sm_restrict_vest_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weapon:vesthelm
// -
// Default: "-1"
sm_restrict_vesthelm_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weapon:vesthelm
// -
// Default: "-1"
sm_restrict_vesthelm_t "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Counter-Terrorists. Weaponm1014
// -
// Default: "-1"
sm_restrict_xm1014_ct "-1"

// -1 = unrestricted, 0 = restricted, positive numbers = number allowed for Terrorists . Weaponm1014
// -
// Default: "-1"
sm_restrict_xm1014_t "-1"

// Sound to play when a weapon is restricted (leave blank to disable)
// -
// Default: "sound/buttons/weapon_cant_buy.wav"
sm_restricted_sound "sound/buttons/weapon_cant_buy.wav"

// 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 "1"

// 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 "0.5"

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

// Enables admin immunity so admins can buy restricted weapons
// -
// Default: "0"
sm_weapon_restrict_immunity "0"
tazzle0870 is offline
heraclitus
Member
Join Date: Dec 2007
Old 12-31-2016 , 00:15   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1892

How to all player can buy only one flashbang all round?
heraclitus is offline
RykG
Junior Member
Join Date: Aug 2013
Location: You know but I don't tel
Old 01-02-2017 , 10:38   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1893

How can I add specific weapon on warmups for one map?
e.x. I want add on warmup only R8 revolver in the de_westwood map.
RykG is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 02-03-2017 , 07:43   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1894

any way to do this like this.

admin immunity is set to 1. the admin can buy only awp, but the auto snipers are still restricted for him. possible or a smiliar plugin for this?

Last edited by asdfxD; 02-03-2017 at 07:43.
asdfxD is offline
emialcaraz
Member
Join Date: Oct 2016
Location: Argentina
Old 02-13-2017 , 15:42   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1895

will be nice to add decoy limit
emialcaraz is offline
TempKnight
New Member
Join Date: Feb 2017
Old 02-16-2017 , 20:30   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1896

Hi, myself and a couple of friends have started running a dust_2/rotation server but we have a problem with the plugin?

We can restrict snipers and unrestrict scouts through our binds on console but we are unable to set restrictions through the .cfg files so we have to put the restriction in everytime the map changes.

Any ideas on how to solve this?

Thanks

EDIT: We are running the server on Counter Strike: Source if that makes any difference?

Last edited by TempKnight; 02-16-2017 at 20:38. Reason: forgot to include part
TempKnight is offline
dustydevil
Member
Join Date: Feb 2016
Old 02-26-2017 , 14:14   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1897

Is there away to make it unrestrict On Certain Maps?
dustydevil is offline
MAMAC
AlliedModders Donor
Join Date: Nov 2011
Location: Space
Old 03-25-2017 , 13:42   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1898

After latest valve update weapon restrict are broken... u can buy weapon even is limit is reaced but plugin drop weapon. so u spend money for nothing


Edit: solved updated to latest sourcemod...

Last edited by MAMAC; 03-25-2017 at 14:19.
MAMAC is offline
Send a message via MSN to MAMAC Send a message via Yahoo to MAMAC
KnoXviLLe
Senior Member
Join Date: Nov 2011
Old 03-26-2017 , 04:48   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1899

Quote:
Originally Posted by MAMAC View Post
After latest valve update weapon restrict are broken... u can buy weapon even is limit is reaced but plugin drop weapon. so u spend money for nothing


Edit: solved updated to latest sourcemod...
Which version ?
__________________
Success is the ability to go from one failure to another with no loss of enthusiasm.

KnoXviLLe is offline
M3Power
Member
Join Date: Apr 2017
Old 04-06-2017 , 11:49   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1900

How to set this only for admins with "z" flag? My regular admins can still use that in admin menu but I want it to be only for "z" (root) admins.

Thank you.
M3Power is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode