Try this:
Code:
#include <amxmodx>
#include <amxmisc>
#define TIME_PASSED 2
new Float:timer
public plugin_init()
{
register_plugin("Death Thing", "1.0", "stupok69")
register_event("DeathMsg", "event_DeathMsg", "a") // i forgot if this should be "a" or "b"
}
public event_DeathMsg()
{
new Float:current_time = get_gametime()
if(timer > current_time - TIME_PASSED)
{
//if there is more than one
//death within TIME_PASSED,
//this will be called
}
timer = current_time
return PLUGIN_HANDLED
}