Code:
CreateCylinder( origin[3], addrad, sprite, startfrate, framerate, life, width, amplitude, red, green, blue, brightness, speed )
{
message_begin( MSG_BROADCAST, SVC_TEMPENTITY );
write_byte( TE_BEAMCYLINDER );
write_coord( origin[0] );
write_coord( origin[1] );
write_coord( origin[2] );
write_coord( origin[0] );
write_coord( origin[1] );
write_coord( origin[2] + addrad );
write_short( sprite );
write_byte( startfrate );
write_byte( framerate );
write_byte( life );
write_byte( width );
write_byte( amplitude );
write_byte( red );
write_byte( green );
write_byte( blue );
write_byte( brightness );
write_byte( speed );
message_end();
}
From this plugin:
http://forums.alliedmods.net/showthr...ighlight=grave
addrad is probably the radius of the cylinder.