Raised This Month: $ Target: $400
 0% 

Disappear immediately after death! Help!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
bibu
Veteran Member
Join Date: Sep 2010
Old 06-07-2014 , 13:47   Re: Disappear immediately after death! Help!
Reply With Quote #6

Try this:

PHP Code:
#include <amxmodx>
#include <hamsandwich>
#include <fun>

public plugin_init()
{
    
register_plugin("Hide Death Sequence""1.0""AMXX Community")
    
    
RegisterHam(Ham_Spawn"player""Player_Spawn"1)
    
RegisterHam(Ham_Killed"player""Player_Killed"1)
}

public 
Player_Killed(id)
{
    
set_user_rendering(idkRenderFxNone000kRenderTransAlpha 0)
}

public 
Player_Spawn(id)
{
    if(
is_user_alive(id))
        
set_user_rendering(id)

Btw, you should post such thing next time on Requests section of the forum.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu 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 09:41.


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