Raised This Month: $ Target: $400
 0% 

Blocking TE_BEAMFOLLOW


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 04-17-2013 , 13:29   Blocking TE_BEAMFOLLOW
Reply With Quote #1

Hi Guys,

I need you help. I attatch a sprite on a player with TE_BEAMFOLLOW like this:

PHP Code:
addtrail(id) {
    
message_begin(MSG_BROADCASTSVC_TEMPENTITY)
    
write_byte(22)    // TE_BEAMFOLLOW
    
write_short(id)
    
write_short(gl_sprite)
    
write_byte(20)
    
write_byte(5)
    
write_byte(255)
    
write_byte(0)
    
write_byte(0)
    
write_byte(100)
    
message_end()

Like that, EVERYONE can see the Trail...

My question is: is there a possiblility to Block the rendering of the trail for a spesific player?

My goal is: show the trail to players who want to see it, and block it for those who dont.

I thnink I have to do this with addToFullPack, but I need a little push into the right direction.



Ty, mottzi
mottzi is offline
Send a message via MSN to mottzi
 



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:49.


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