Raised This Month: $ Target: $400
 0% 

movetype_follow offset


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
iNvectus
Member
Join Date: Sep 2014
Location: Bulgaria
Old 10-24-2019 , 01:19   Re: movetype_follow offset
Reply With Quote #8

I guess this is what you are looking for https://forums.alliedmods.net/showthread.php?t=181306

Here it is done this way:

PHP Code:
public create_rank_entityindex )
{
    
gi_PlayerRankindex ] = engfunc EngFunc_CreateNamedEntityengfunc EngFunc_AllocString"env_sprite" ) )
    
    if( 
pev_validgi_PlayerRankindex ] ) )
    {
        
set_pevgi_PlayerRankindex ], pev_solidSOLID_NOT )
        
set_pevgi_PlayerRankindex ], pev_iuser2index )
        
set_pevgi_PlayerRankindex ], pev_iuser1pevgi_PlayerRankindex ], pev_owner ) )
        
set_pevgi_PlayerRankindex ], pev_scale0.5 )
        
engfuncEngFunc_SetModelgi_PlayerRankindex ], ranks_model )
        
set_pevgi_PlayerRankindex ], pev_renderfxkRenderTransAlpha )
        
set_pevgi_PlayerRankindex ], pev_renderamt0.0 )
        
set_pevgi_PlayerRankindex ], pev_frame0.0 )
    }


Last edited by iNvectus; 10-24-2019 at 01:20.
iNvectus 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 02:40.


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