If you want the auto respawn plugin, maybe this will be more simpler:
PHP Code:
#include <amxmodx>
#include <hamsandwich>
public plugin_init()
{
register_plugin("Auto Respawn", "1.0", "zmd94")
RegisterHam(Ham_Killed, "player", "Ham_Killed_Post", 1)
}
public Ham_Killed_Post(victim, attacker, shouldgib)
{
set_task(5.0, "iRespawn", victim)
}
public iRespawn(id)
{
ExecuteHamB(Ham_CS_RoundRespawn, id)
}
Just add the countdown if you needed. ;)