Raised This Month: $ Target: $400
 0% 

TE_BEAMFOLLOW Sprite Bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 04-26-2013 , 08:54   Re: TE_BEAMFOLLOW Sprite Bug
Reply With Quote #1

PHP Code:
public Util_TE_BEAMFOLLOW(identityspritelifewidthredgreenbluebrightness

    
message_begin(id MSG_ONE MSG_ALLSVC_TEMPENTITY_id); 
    
write_byte(TE_BEAMFOLLOW); 
    
write_short(entity); 
    
write_short(sprite); 
    
write_byte(life); // life in 0.1's 
    
write_byte(width); // line width in 0.1's 
    
write_byte(red); 
    
write_byte(green); 
    
write_byte(blue); 
    
write_byte(brightness); 
    
message_end(); 


public 
setTrail(id){
        new 
players[32], numplayer 
        get_players
(playersnum
        
        for(new 
inum i++) 
        { 
            
player players[i
            if( 
g_bSeeTrails[player] ) 
            { 
                
Util_TE_BEAMFOLLOW(playeridgl_sprite20525500100
            } 
        }

The bug is only showing up with one sprite. With all others it work

Last edited by mottzi; 04-26-2013 at 08:59.
mottzi is offline
Send a message via MSN to mottzi
Reply



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 10:53.


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