/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <fun>
#define PLUGIN "1 Sec Respawn"
#define VERSION "1.0"
#define AUTHOR "deLL"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("DeathMsg", "DeathMsg", "ade")
}
public DeathMsg(id)
{
new vid = read_data(2)
add_respawn_bonus(vid)
}
public add_respawn_bonus(id)
{
new svIndex[32]
num_to_str(id,svIndex,32)
set_task(1.0, "Respawnn", 0, svIndex, 32)
}
public Respawnn(svIndex[])
{
new vIndex = str_to_num(svIndex)
spawn(vIndex);
}
Po sekundzie cie respa.