View Single Post
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 12-26-2011 , 09:54   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #16

Quote:
Originally Posted by RedSword View Post
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
The Autosnipers are actually "g3sg1" and "sg550" not sg552!
Nolongerinthegame is offline