Raised This Month: $ Target: $400
 0% 

[CS:S/HL2:DM] Delete/Dissolve/Exaggerate Ragdolls (v1.2.4)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
klausenbusk
AlliedModders Donor
Join Date: Jan 2011
Old 04-28-2011 , 09:37   Re: [CS:S] Delete/Dissolve/Exaggerate Ragdolls (v1.2.4)
Reply With Quote #11

In my respawn plugin i have: (not full code)
PHP Code:
HookEvent("player_death"Event_PlayerDeathEventHookMode_Post);

public 
Action:Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
    new 
client GetClientOfUserId(GetEventInt(event,"userid"));
    
CreateTimer(0.5RespawnPlayerclient);
    return 
Plugin_Continue;
}

public 
Action:RespawnPlayer(Handle:timerany:client)
{
    if (
IsClientConnected(client) && GetClientTeam(client) > && !IsPlayerAlive(client))
    {
        
CS_RespawnPlayer(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
understand?
klausenbusk is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode