View Single Post
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 12-26-2011 , 08:26   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #15

Quote:
Originally Posted by zapf View Post
this works great on my server, but can you please add support for the autosnipers?
Glad to read that.

I didn't have any plan to add support for autosniper. However what you cando is make two new plugins, with the same exact code, but change the CVar for the one you make (under OnPluginStart() ) and the following lines :

Code:
#define	AWP_ENT_STR			"weapon_awp"
#define	AWP_WPN_STR			"awp"
for the good ones (in that case you would have to recompile twice, 1 for each autosniper)

I believe the autosnipers' entities' name to be "weapon_g3sg1" and "weapon_sg552". You would have to test; however for the weapons name I believe it would be "g3sg1" and "sg552" respectively.

If you're talking about a single plugin handling all those altogether, it is not my intention, since usually a server either allow autosnipers or restrict them (never seen a quantity restriction I believe).

Have good holidays,
Red
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 12-26-2011 at 08:50.
RedSword is offline