In my respawn plugin i have: (not full code)
HookEvent("player_death", Event_PlayerDeath, EventHookMode_Post);
public Action:Event_PlayerDeath(Handle:event, const String:name, bool:dontBroadcast)
new client = GetClientOfUserId(GetEventInt(event,"userid"));
CreateTimer(0.5, RespawnPlayer, client);
public Action:RespawnPlayer(Handle:timer, any:client)
if (IsClientConnected(client) && GetClientTeam(client) > 1 && !IsPlayerAlive(client))
But when a player respawn, become their ragdoll deleted.
What I wanted is:
When a player death, it respawn 0.5 sec after.
2.0 after their respawned their "death ragdoll" should been dissolved.
But it not seems to be possible, because when i respawn a player with "CS_RespawnPlayer" their "death ragdoll", will be deleted when they spawn again