Raised This Month: $ Target: $400
 0% 

Remove-ing Dead Body.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 12-18-2009 , 11:50   Re: Remove-ing Dead Body.
Reply With Quote #14

Quote:
Originally Posted by ConnorMcLeod View Post
Try this :

PHP Code:
const m_pActiveItem 373
 
public plugin_init()
{
    
RegisterHam(Ham_Killed"player""Ham_CBasePlayer_Killed_Post"1)
}
 
public 
Ham_CBasePlayer_Killed_Post(idiKiller)
{
    
set_pev(idpev_effectspev(idpev_effects) | EF_NODRAW)
    if( 
is_user_aliveiKiller ) )
    {
        new 
iActiveItem get_pdata_cbase(iKillerm_pActiveItem)
        if( 
iActiveItem )
        {
            
engfunc(EngFunc_SetViewidiActiveItem)
        }
    }

PHP Code:
public Event_DeathMsg( )
{
         
engfuncEngFunc_SetOriginidFloat:{ -4800.0,-4800.0,-4800.0 } )

The view still stuck with the body, not with the attacker.
__________________
ƒa†es™ 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 00:29.


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