Raised This Month: $ Target: $400
 0% 

kill SVC_TEMPENTITY


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Flipper_SPb
Senior Member
Join Date: Jun 2009
Location: Worldspawn
Old 07-09-2010 , 08:07   kill SVC_TEMPENTITY
Reply With Quote #1

I created a laser for one player:

PHP Code:
    message_begin(MSG_ONESVC_TEMPENTITY_player);
    
write_byte(TE_BEAMENTS);
    
write_short(ent);            // start entity
    
write_short(player);            // entity
    
write_short(sprite);    // precached sprite
    
write_byte(10);                    // starting frame
    
write_byte(15);                    // frame rate
    
write_byte(250);                    // life in 0.1's   so 30 should = 3 seconds
    
write_byte(60);                    // line width
    
write_byte(0);                    // noise amplitude
    
write_byte(255);                // r, g, b
    
write_byte(128);                // r, g, b
    
write_byte(0);                    // r, g, b
    
write_byte(255);                // brightness
    
write_byte(30);                    // scroll speed
    
message_end(); 
How to remove it on demand?
Flipper_SPb is offline
Send a message via ICQ to Flipper_SPb
 



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 07:09.


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