I recently decided to make a shock function for ulx for a server I'm admin on.
Features:
-Very similar to slap but damage defaults to the maximum health possible to have.
-You can specify damage, !shock bob alone will kill them instantly while !shock bob 50 will deal 50 damage.
-Ungods people so damage will work.
-When it kills a player it disintegrates them as if they had been shot by a combine ball.
-Default access is superadmin only but you can easily change that.
-Plays a sound at the point where the player got shocked.
Leave a comment with any suggestions you have, also if anyone can tell me how to get it to echo to chat that would be great, haven't managed to figure it out.
This is the first addon that I've ever shared with anyone else so go easy on me.
To install simply create a folder in addons and checkout this svn link:
http://masas-custom-ulx-lua-funcs.googlecode.com/svn/trunk/