Raised This Month: $ Target: $400
 0% 

Delete TE_BEAMPOINTS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 06-21-2010 , 17:10   Delete TE_BEAMPOINTS
Reply With Quote #1

if I have beam like this
PHP Code:
    message_begin(MSG_BROADCAST,SVC_TEMPENTITY);
    
write_byte(TE_BEAMENTPOINT);
    
write_short(i_Ent)
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[0]);
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[1]);
    
engfunc(EngFunc_WriteCoord,v_EndOrigin[2]);
           ........... 
i can delete it with TE_KILLBEAM.

But is that possible to delete beam like this?
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]);
             ... 

Last edited by Empowers; 06-21-2010 at 17:13.
Empowers is offline
Send a message via ICQ to Empowers
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 06-21-2010 , 17:12   Re: Delete TE_BEAMPOINTS
Reply With Quote #2

Nope. Killbeam is the method
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 06-22-2010 , 04:33   Re: Delete TE_BEAMPOINTS
Reply With Quote #3

Quote:
Originally Posted by ot_207 View Post
Nope. Killbeam is the method
Maybe searching for entity env_beam or something and removing it? I don't know why but TE_BEAMENTPOINT gives wrong beams sometimes and TE_BEAMPOINTS is fine.
Empowers is offline
Send a message via ICQ to Empowers
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-22-2010 , 05:46   Re: Delete TE_BEAMPOINTS
Reply With Quote #4

TE_KILLBEAM kills only beams attached to an entity. For TE_BEAMPOINTS I don't think you can.
__________________
Arkshine 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 14:51.


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