This will never do what I think you want it to, but it should work partially. Basically, when you spawn or type "fullupdate" in your console, it'll kill you.
Code:
#include <amxmodx>
#include <amxmisc>
#include <engine>
#include <fun>
public plugin_init()
{
register_plugin("amx_damage", "1", "Meta")
register_cvar("amx_damage", "100.0")
register_event("ResetHUD","damage","be");
}
public damage(id)
{
set_task(1.0,"todo",id)
return PLUGIN_CONTINUE
}
public todo(victim)
{
new Float:damn = get_cvar_float("amx_damage")
fakedamage ( victim, "damage", damn, 1);
return PLUGIN_CONTINUE
}
__________________