CS:S Weapon Restrictions 2 (with source code) (16Dec06)
CS:S Weapon Restrictions 2
by L. Duke Restricted weapons can't be picked up (like a rifle/pistol can't be picked up if you already have one). Includes a CVAR to delete weapons which should be enabled for CSSDM so massive piles of weapons don't cause server issues. Download (includes source code) Please post any bugs in this thread. Obsolete Source may be useful for MMS plugin authors learning to hook virtual functions. |
Re: CS:S Weapon Restrictions 2 (with source code)
I'd still like to see something along the lines of restrict per-team.
restrict awp 2 2 awps per team but I'd also like the ability to combine restrictions restrict awp g3sg1 sg550 2 I sure hope you get what I mean by that...but if not. Restricted autos and awps with a maximum of 2 per team, so it can be any combination of the following per team 2 awps 0 autos 1 awp 1 auto 0 awps 2 autos get it? I sure hope so cuz I'm very lazy...I might sift through that source code of yours but I'm not very good at coding :(. |
Re: CS:S Weapon Restrictions 2 (with source code)
This does not seem to restrict bots from any weapons. Is there something I can do to restrict from bots.
|
Re: CS:S Weapon Restrictions 2 (with source code)
These are bot cvars NOT plugin cvars.
Quote:
|
Re: CS:S Weapon Restrictions 2 (with source code)
Thank you very much, love the plugin for real people.
|
Re: CS:S Weapon Restrictions 2 (with source code)
is there any way I could get that request? or no? Just out of curiosity.
|
Re: CS:S Weapon Restrictions 2 (with source code)
Ahh...sorry for not responding. I don't have any plans to add that at this time. I might add it if I think of a simple way of doing it that doesn't involve polling each player to find out what weapon they have every time someone touches a gun on the ground (since when you run over a gun the game sees you touching it about 20 times).
|
Re: CS:S Weapon Restrictions 2 (with source code)
This was broken in the new update :( Will not load up.
|
Re: CS:S Weapon Restrictions 2 (with source code)
Will be fixed as soon as I get the chance to update the function signatures.
|
Re: CS:S Weapon Restrictions 2 (with source code)
Quote:
|
All times are GMT -4. The time now is 02:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.