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

Weapon Restrictions


Post New Thread Reply   
 
Thread Tools Display Modes
xJonny
Junior Member
Join Date: May 2007
Location: England
Old 04-19-2008 , 16:07   Re: Weapon Restrictions
Reply With Quote #21

Thanks! It's awesome.

I'm going to test it now. I would like to see it added into the sm_admin interface and admin immunity, that would be awesome!
xJonny is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 04-21-2008 , 20:38   Re: Weapon Restrictions
Reply With Quote #22

Plugin has been updated and reposted. Changelog is in the initial post along with the new commands.
Liam is offline
[Arnold]
Senior Member
Join Date: May 2004
Old 04-22-2008 , 01:43   Re: Weapon Restrictions
Reply With Quote #23

Great new features, thx Liam.
[Arnold] is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 04-30-2008 , 09:06   Re: Weapon Restrictions
Reply With Quote #24

Somethings I would like to see are the sm_allow, sm_knives and sm_pistols to last till the map changes, not just 1 round. Also, sm_shotguns (all primary weapons restricted but shotguns), sm_snipers (every primary restricted but the scout, awp and autos), sm_nosnipers (no scout, awp, or autos) and sm_subs (all primary restricted but the sub-machine guns like MP5, TMP, P90, etc) and for all of those to last till map change as well.

Just some suggestions.
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 04-30-2008 , 09:41   Re: Weapon Restrictions
Reply With Quote #25

cool work. thanks mate.

I have a small additional feature request. something like sm_restrict_status to print out the current restriction state for admins. most likely you will already have something like this for debugging, right?
red! is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 04-30-2008 , 18:24   Re: Weapon Restrictions
Reply With Quote #26

I really like the ease of use, but:

Quote:
L 04/30/2008 - 23:23:06: [SM] Plugin encountered error 15: Array index is out of bounds
L 04/30/2008 - 23:23:06: [SM] Displaying call stack trace for plugin "restrict.smx":
L 04/30/2008 - 23:23:06: [SM] [0] Line 253, restrict.sp::Command_Restrict()
that make the plugin a bit unreliable.
red! is offline
Gently
Member
Join Date: Mar 2008
Old 04-30-2008 , 23:34   Re: Weapon Restrictions
Reply With Quote #27

i request a feature for limiting to 0 awps until player amount is > 8.
__________________
Gently is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-01-2008 , 12:06   Re: Weapon Restrictions
Reply With Quote #28

Gently: you can use Execute Configs for that. Just make a config for when there are 8 clients on with the command to restrict the awp to 0, and a config for 9 clients to remove the restriction.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 05-03-2008 , 12:16   Re: Weapon Restrictions
Reply With Quote #29

Quote:
Originally Posted by red! View Post
I really like the ease of use, but:



that make the plugin a bit unreliable.
Make sure you re-download the package. I fixed a bug in one of the arrays about four hours after i posted it originally. I had that issue too and its since been fixed.
Liam is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 05-04-2008 , 09:02   Re: Weapon Restrictions
Reply With Quote #30

Ehhm, yes. I read about the fix. But I downloaded it some days after you posted the fix.

It does not happen every time, but still very often. Maybe this behaves different for me, because I trigger the restrictions by another plugin (http://forums.alliedmods.net/showthr...hlight=winning) which may toggle rerstriction status more often than usual.

Last edited by red!; 05-04-2008 at 09:09.
red! 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 03:31.


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