This is just another way to slay an annoying user or two but much more fun. This plugin will cause the user to be bounced around like a pinball leaving blood wherever he touches, until ultimately exploding into a bloody mess.
This plugin supports targeting a single user, team, or everyone, with or without immunity, depending on compile option. It defaults to not checking for immunity when slaying teams or everyone but checks when slaying an individual.
Required includes:
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <engine>
Usage:
amx_wog <nick, #userid, @TEAM or *> : Target is yanked in the air and slammed around like a pinball.
***Tiny bugfix***
I was sometimes getting debug errors in logs for the client_Prethink referring to either the user not existing, or being out of bounds. So I added a little extra code to try and fix that, this is the best way I know how to do it unless someone else has a better method.
Updated again to just one check.
Code:
if (!is_user_alive(id))
{
return PLUGIN_HANDLED
}
Thanks suicid3
I seriously hope that's the last update at least until I add the gib explosion.
Thanks to Charming's Admin Spin Me plugin for the bounce code. Sorry I couldn't remember where I had found that bit of code, so I'm giving proper credit for it.
Demo is attached.