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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 07-08-2010 , 17:02   Re: [CSS] Weapon Restrict
Reply With Quote #371

Quote:
Originally Posted by matecro View Post
guys can just sombody explain me, is it somehow possible to unrestrict awp when map awp map is ? so i dont need always unrestrict
http://forums.alliedmods.net/showthread.php?t=85551

Use that plugin and make an awp.cfg file with sm_unrestrict awp in it and place it in /cfg/mapconfigs/gametypes.

Doing that will unrestrict the awp on all maps that start with awp_.

If the map doesnt start with awp_, look in /cfg/mapconfigs/maps and there should be a cfg file in there for all maps on your server and just add the unrestrict command in there.
__________________

Last edited by Xp3r7; 07-08-2010 at 17:05.
Xp3r7 is offline
Send a message via MSN to Xp3r7
matecro
BANNED
Join Date: Jun 2010
Old 07-09-2010 , 09:26   Re: [CSS] Weapon Restrict
Reply With Quote #372

hm thanx it worked ;), and how to restrict deagle now on that map ;) ? do i type "sm_restrict deagle 0 all"
matecro is offline
GrO
Veteran Member
Join Date: Jun 2010
Location: Poland
Old 07-17-2010 , 23:22   Re: [CSS] Weapon Restrict
Reply With Quote #373

Quote:
Originally Posted by matecro View Post
guys can just sombody explain me, is it somehow possible to unrestrict awp when map awp map is ? so i dont need always unrestrict
Why to use other Plugin, while all You need is implemented in Weapon-Restrict Plugin?

Just make a config in addons\sourcemod\configs\restrict named awp_.cfg with the proper commands. In example:


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

// Restrict/Unrestrict -1 unrestricts awp for t
// -
// Default: "-1"
sm_restrict_awp_t "-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"

It looks like You are unable to read the first post -.-

Last edited by GrO; 07-17-2010 at 23:26.
GrO is offline
Kammi_
AlliedModders Donor
Join Date: Dec 2007
Old 07-18-2010 , 08:03   Re: [CSS] Weapon Restrict
Reply With Quote #374

Quote:
Originally Posted by YouzAMenace View Post
Ill have a look when i can (im using it on servers and i believe its working fine no complaints as of yet)



Thanks for the info, i wasnt absolutly postive about it (from googling it looked like it was client) but good info thanks!

Hello

have u looked if it works per user ?
__________________



Kammi_ is offline
Send a message via ICQ to Kammi_
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-18-2010 , 14:22   Re: [CSS] Weapon Restrict
Reply With Quote #375

Quote:
Originally Posted by Kammi_ View Post
Hello

have u looked if it works per user ?
Yes i just tested again and it is working fine for me. if you cant get it to work make sure "sm_perplayer_restrict" is set to 1
Dr!fter is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 07-18-2010 , 21:53   Re: [CSS] Weapon Restrict
Reply With Quote #376

Quote:
//Sets to pistol only round
sm_pistols - will set next round as pistols only

//Sets knife round only
sm_knives - will set up next round as knife only

//Reloads restrictions
sm_reload_restrictions

//Removes restricted weapons from players
sm_remove_restricted
Could we get these added in to the admin menu with the other Restrict commands already there?
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-19-2010 , 09:51   Re: [CSS] Weapon Restrict
Reply With Quote #377

Yup ill try to release another update tomorrow or wednesday with the menu and a tiny bug fix with adminmenu throwing errors if you dont have the adminmenu plugin loaded.
Dr!fter is offline
BDeep
Senior Member
Join Date: Jun 2009
Location: NH
Old 07-19-2010 , 09:54   Re: [CSS] Weapon Restrict
Reply With Quote #378

Is there anyway to do a per player Flashbang restriction or maybe even just restrict the FB to 1 per player?
__________________
BDeep is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-19-2010 , 09:58   Re: [CSS] Weapon Restrict
Reply With Quote #379

Hehehe... would be great if have personal weapon restrict.
Code:
sm_restrict <name|steamid> <weapon>

And would remember end of the world.
Bacardi is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-19-2010 , 13:39   Re: [CSS] Weapon Restrict
Reply With Quote #380

Quote:
Originally Posted by BDeep View Post
Is there anyway to do a per player Flashbang restriction or maybe even just restrict the FB to 1 per player?
No way to limit a flashbang per person. But you can do a perplayer flashbang restrict (x amount of players x amount of flashes per team) http://forums.alliedmods.net/showpos...&postcount=137

Quote:
Originally Posted by Bacardi View Post
Hehehe... would be great if have personal weapon restrict.
Code:
sm_restrict <name|steamid> <weapon>

And would remember end of the world.
Would require alot of work. I dont have the time to change it that much but if you want to code it feel free (code it as a seperate plugin) and ill be happy to have a look over your code. Some suggestions on how to do it is a keyvalue file with steam ids and the guns they cant buy. if the gun exists deny them being able to buy the gun.

Last edited by Dr!fter; 07-19-2010 at 13:43.
Dr!fter 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 13:58.


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