Ok i have this :
PHP Code:
new const VERSION[] = "1.1"
#include <amxmodx>
#include <fun>
#include <cstrike>
#include <hamsandwich>
#define DISABLE_CS 0
// team ids
#define UNASSIGNED 0
#define TS 0
#define CTS 3
#define AUTO_TEAM 5
public plugin_init(){
register_plugin("Respawn Forever", VERSION, "Pimp Daddy (OoTOAoO)")
register_event("DeathMsg","on_Death","a")
register_cvar("sv_checkpistols", "1")
register_cvar("sv_respawn", "1")
register_cvar("respawn_forever_version", VERSION, FCVAR_SERVER)
register_clcmd("say","on_Chat")
register_clcmd("say_team","on_Chat")
}
public on_Death()
{
if ( !get_cvar_num("sv_respawn") )
return PLUGIN_CONTINUE
new victim_id = read_data(2)
set_task(0.1, "Respawn", victim_id, _, _, "a", 3);
return PLUGIN_CONTINUE
}
public player_spawn(parm[1])
{
spawn(parm[0])
}
public Respawn(Client)
ExecuteHamB(Ham_CS_RoundRespawn, Client);
but i can respawn 234234234234234234 times

where am i wrong ?
__________________