Raised This Month: $ Target: $400
 0% 

how to make the TE_PLAYERATTACHMENT...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 02-07-2009 , 14:20   Re: how to make the TE_PLAYERATTACHMENT...
Reply With Quote #6

Well, yeah
PHP Code:
MyFunction id )
{
    for ( new 
1<= MaxClientsi++ )
    {
        if ( 
!= id && get_user_teamid ) == get_user_team) )
        {
            if( !
is_user_alive) )
                    continue;

            
message_beginMSG_ONE_UNRELIABLESVC_TEMPENTITY_);
            
write_byteTE_PLAYERATTACHMENT );
            
write_byteid );
            
write_coord45 );
            
write_shortModelIndex );
            
write_short100 );
        }
    }

But i think it won't attach anything if the player's not alive, and no errors will show up.
__________________

anakin_cstrike 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 17:06.


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