#include <cstrike>
public void OnPluginStart() {HookEvent("player_death", PlayerDeath);}
public Action PlayerDeath(Handle event, const char[] name, bool dbc)
{
int client = GetClientOfUserId(GetEventInt(event, "userid"));
CS_RespawnPlayer(client);
//CreateTimer(1.0, Respawn, client, TIMER_FLAG_NO_MAPCHANGE);
}
//public Action Respawn(Handle timer, int client) {if(IsClientInGame(client)) CS_RespawnPlayer(client);}