View Single Post
klausenbusk
AlliedModders Donor
Join Date: Jan 2011
Old 05-26-2011 , 11:32   Re: [CS:S/HL2:DM] Delete/Dissolve/Exaggerate Ragdolls (v1.2.4)
Reply With Quote #25

If the zombie respawn, you need to do something like:
Quote:
Originally Posted by klausenbusk View Post
Yes, i have get my respawn plugin to work with this plugin
Code: (not full)
PHP Code:
public OnPluginStart()
{
    
HookEvent("player_death"Event_PlayerDeathEventHookMode_Post);
}
public 
Action:Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
    new 
client GetClientOfUserId(GetEventInt(event,"userid"));
    
SetEntPropEnt(clientProp_Send"m_hRagdoll", -1); // do the trick :)
    
CreateTimer(0.5RespawnPlayerclient);
    return 
Plugin_Continue;

If you will use this plugin, after they are spawned again
klausenbusk is offline