Introducing possibly the most fun command in ULX ever.
ulx explode. (!explode)
This makes use of a util.BlastDamage function I recently discovered.
!explode <player(s)> [damage] [radius]
The player(s) will literally explode and cause blast (splash) damage to all entities within the radius you define (defaults to 150 units)
This command is default to superadmin only, but like all ulx commands, can be assigned access in the groups.txt file, or in game with ulx userallow <player> "ulx explode"
Not only does it cause damage within the radius.. it also creates force, similar to dynamite (in fact, dynamite probably uses this function) so it'll send physics props flying through the air.. and player ragdolls too =)
have fun!
v2
Added Exploding Sounds
Scorch Decal
Gibs (bones, skulls, ribs)
Water Splash if you do it under water
Adjusts Kills/Deaths accordingly
Explosion Effect.
pretty much complete. Unless there is something anyone can think of that would make it better.
EDIT.. oh I almost forgot.. To install this, put it in your addons\ULX\lua\ulx\modules folder =)
Now in addon format =) Simply drop it in your addons folder. (note... you need ULX installed to use this.)