Raised This Month: $ Target: $400
 0% 

beam / line thru walls


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
waza123a
Member
Join Date: Mar 2010
Old 03-19-2014 , 11:59   beam / line thru walls
Reply With Quote #1

I'm trying to make a line from players eyes, this line must go thru walls, please help how to make it go thru walls,

what I have is, this, laser/line which go until wall/object.

PHP Code:
    get_user_origin(ide3)

    
message_beginMSG_BROADCAST,SVC_TEMPENTITY)

    
write_byte (TE_BEAMENTPOINT)
    
write_short(id 0x1000)

    
    
write_coord (e[0])
    
write_coord (e[1])
    
write_coord (e[2])
    
    
write_short(sprite)
    
write_byte (0)                              
    
write_byte (1)                             
    
write_byte (1)
    
write_byte (5)                           
    
write_byte (0)    
    

    
write_byte (rgb[0])     
    
write_byte (rgb[1])
    
write_byte (rgb[2])

    
    
write_byte (255)                             
    
write_byte (10)                              
    
message_end() 
EDIT:

job done, was hard. p.m if need solution.
__________________
Life is good, sometimes...

Last edited by waza123a; 03-19-2014 at 19:16.
waza123a is offline
 



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


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