|
Title: W3Buff / Melee only?? Post by: -El Diablo on March 16, 2012, 04:35:49 AM Is there a melee only option in the W3Buff system that isn't documented?
If not, can a melee only option be added to the W3Buff system? Title: Re: W3Buff / Melee only?? Post by: Necavi on March 16, 2012, 04:55:15 AM Well, there's War3_WeaponRestrictTo("weapon_knife"); (for CS:S) I don't recall how it is delimited, I think commas? So War3_WeaponRestrictTo("weapon_knife,weapon_deagle");
Title: Re: W3Buff / Melee only?? Post by: Vulpone on March 16, 2012, 05:41:46 AM Well, there's War3_WeaponRestrictTo("weapon_knife"); (for CS:S) I don't recall how it is delimited, I think commas? So War3_WeaponRestrictTo("weapon_knife,weapon_deagle"); Actually, with the correct parameters, it's: War3_WeaponRestrictTo(client, raceid*, "weapon_knife;weapon_ak;weapon_whatever"); The different weapons are separated by a semicolon. *: not supposed to be a pointer, but an annotation: (raceid = thisRaceID if you followed the usual pattern. So don't worry if you dunno what that is.) Title: Re: W3Buff / Melee only?? Post by: -El Diablo on March 16, 2012, 05:53:24 AM I don't think that works for TF2, does it?
Title: Re: W3Buff / Melee only?? Post by: Ownz on March 16, 2012, 11:31:54 AM theres no set delimiter, its just a plain string search is what the restriction engine does
|