im sry but i dont remember this either, i just know that when i tested this messages i found some byte which had an influence on this.
anyway, here is the message i use and which can be seen on the screenshot which shows a cylinder with 7 sides.
PHP Code:
message_begin( MSG_ONE_UNRELIABLE, SVC_TEMPENTITY, { 0.0, 0.0, 0.0 }, plr );
write_byte( TE_BEAMCYLINDER );
engfunc( EngFunc_WriteCoord, origin[0] );
engfunc( EngFunc_WriteCoord, origin[1] );
engfunc( EngFunc_WriteCoord, origin[2] - ( ducked ? 12 : 30 ) );
engfunc( EngFunc_WriteCoord, origin[0] );
engfunc( EngFunc_WriteCoord, origin[1] );
engfunc( EngFunc_WriteCoord, origin[2] + 40 );
write_short( g_flSprite ); // "sprites/white.spr"
write_byte( 0 );
write_byte( 0 );
write_byte( 4 );
write_byte( 6 );
write_byte( 0 );
write_byte( COLOR_RED ); // red
write_byte( COLOR_GREEN ); // green
write_byte( COLOR_BLUE ); // blue
write_byte( 255 ); // brightness
write_byte( 0 );
message_end( );
__________________