If the zombie respawn, you need to do something like:
Quote:
Originally Posted by klausenbusk
Yes, i have get my respawn plugin to work with this plugin
Code: (not full)
PHP Code:
public OnPluginStart() { HookEvent("player_death", Event_PlayerDeath, EventHookMode_Post); } public Action:Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast) { new client = GetClientOfUserId(GetEventInt(event,"userid")); SetEntPropEnt(client, Prop_Send, "m_hRagdoll", -1); // do the trick :) CreateTimer(0.5, RespawnPlayer, client); return Plugin_Continue; }
|
If you will use this plugin, after they are spawned again