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(id, e, 3)
message_begin( MSG_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.
__________________