Raised This Month: $32 Target: $400
 8% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-07-2012 , 10:50   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1221

correct, and if you want to have a weapon fully restricted, put 0... if you want no restriction, put -1
__________________
View my Plugins | Donate
TnTSCS is offline
Jetlag
Member
Join Date: Jul 2012
Old 09-08-2012 , 04:53   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1222

[SM] Failed to load plugin "weapon_restrict.smx": This plugin is only supported on CS:S.

in csgo

Last edited by Jetlag; 09-08-2012 at 04:53.
Jetlag is offline
PlasteR
Senior Member
Join Date: May 2011
Location: Poland
Old 09-08-2012 , 08:03   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1223

https://forums.alliedmods.net/showth...32#post1781332 for CSGO...
__________________
PlasteR is offline
T1k3
Junior Member
Join Date: Jul 2011
Old 09-09-2012 , 09:21   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1224

How do I set (in CS:GO) that don't disable AWP for aim_* maps?

weapon_restrict.cfg
Spoiler
T1k3 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-09-2012 , 10:21   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1225

as taken from the first post:

To install per map configs or per prefix configs they go in addons/sourcemod/configs/restrict
mapname.cfg will be for maps and blah_.cfg for prefix it MUST have _ after the prefix (examples in the zip for test map and test prefix).
__________________
View my Plugins | Donate
TnTSCS is offline
T1k3
Junior Member
Join Date: Jul 2011
Old 09-09-2012 , 10:57   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1226

I don't restrict AWP but not allowed in aim_* maps. But therefore thank you.

Code:
sm_restrict_awp_ct "-1"
sm_restrict_awp_t "-1"

sm_restrict_g3sg1_ct "0"
sm_restrict_g3sg1_t "0"
sm_restrict_scar20_ct "0"
sm_restrict_scar20_t "0"
Edit: I fixed manually set aim_*.cfg but I don't understand why restrict AWP then default "-1".

Last edited by T1k3; 09-09-2012 at 11:48.
T1k3 is offline
ordimans
New Member
Join Date: Sep 2012
Old 09-09-2012 , 12:44   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1227

Hello

I installed on my CS GO Server for de_westwood.

DUring the first round, weapons are restricted, but after first round, any restrict.
Why ?

I put de_westwood.cfg in csgo/cfg/sourcemod
ordimans is offline
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 09-09-2012 , 18:04   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1228

Quote:
Originally Posted by ordimans View Post
Hello

I installed on my CS GO Server for de_westwood.

DUring the first round, weapons are restricted, but after first round, any restrict.
Why ?

I put de_westwood.cfg in csgo/cfg/sourcemod
I used map configs plugin and it works. I'm trying to find out if there's a way to use weapon_awp.txt etc. files from scripts-folder in only one map. Any ideas? I'll try that plugins own map.cfg. ->

E: My restrictions work without map configs plugin. Did you put your de_westwood.cfg in csgo/addons/sourcemod/configs/restrict?
Here's mine:
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"
__________________
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-09-2012 at 18:15.
VJScope is offline
ordimans
New Member
Join Date: Sep 2012
Old 09-09-2012 , 19:13   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1229

It worked.
I placed in csgo/addons/sourcemod/configs/restrict
and in
csgo/maps/cfg
and in
/csgo/cfg/sourcemod

So you confirm the first folder is sufficient ?

And in gameserver_mode.txt i added "exec" "de_westwood.cfg"
It's useless too ?
ordimans is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-09-2012 , 20:07   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1230

your gameserver_modewhatever.txt has nothing to do with this plugin
__________________
View my Plugins | Donate
TnTSCS 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 16:30.


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