Taser

I want to put a cap on the taser, so you can only taser sombody when your very close. How would I do this?

This is simple, I think?

Yes: **[Vector.Distance

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Vector.Distance)**

Just take your player position and enemy position and check if it’s less then the range you want.

Thanks