View Single Post
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-08-2015 , 14:03   Re: [L4D & L4D2] Flashlight (2.5) [25-May-2012]
Reply With Quote #22

Quote:
Originally Posted by KyleS View Post
Cool plugin!

Your Command_ForceFlashLight is scary if they pass a bogus/undefined colour, garbage is passed to the following SetVariantString. You may want to add a default colour, or throw an error back to the client instead. You also set FCVAR_NOTIFY on all your convars, but that's just a thing.

Looks good otherwise (I think)! Nice job :p
Any chance of getting this fixed so this can be approved? Passing random stuff into setvariant is the biggest issue.
Dr!fter is offline