Raised This Month: $ Target: $400
 0% 

[How To] Show & Remove Laser


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Merciless
BANNED
Join Date: Aug 2009
Location: Belgium
Old 08-17-2012 , 12:31   [How To] Show & Remove Laser
Reply With Quote #1

Hello,

If I make a trail on player origins
PHP Code:
message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
    
write_byte(TE_BEAMPOINTS);
    
engfunc(EngFunc_WriteCoord,v_Origin[0]);
    
engfunc(EngFunc_WriteCoord,v_Origin[1]);
    
engfunc(EngFunc_WriteCoord,v_Origin[2]);
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[0]);
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[1]);
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[2]);
    
write_short(iBeamSprite);
    
write_byte(0);
    
write_byte(0);
    
write_byte(1000);    //Life
    
write_byte(70);    //Width
    
write_byte(0);    //wave
    
write_byte(255)    // r
    
write_byte(255// g
    
write_byte(255// b
    
    
write_byte(255);
    
write_byte(255);
    
message_end(); 
How to remove that trail only of that player?
Merciless is offline
Reply


Thread Tools
Display Modes

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 05:51.


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