how to create TE_spray who can
passes through the wall?
or variant two.. it's real to get distance to wall/roof/platform over head?
for example: I want to create TE_SPRAY from skyes [origins[3]] through the roof to the floor
original stock:
PHP Code:
stock Create_TE_SPRAY(position[3], direction[3], iSprite, count, speed, noise, rendermode){
message_begin( MSG_BROADCAST,SVC_TEMPENTITY )
write_byte( TE_SPRAY )
write_coord( position[0] ) // Position
write_coord( position[1] )
write_coord( position[2] )
write_coord( direction[0] ) // Direction
write_coord( direction[1] )
write_coord( direction[2] )
write_short( iSprite ) // Sprite
write_byte( count ) // count
write_byte( speed ) // speed
write_byte( noise ) // noise
write_byte( rendermode ) // rendermode
message_end()
}