void MyTracer ( const Vector &start, const Vector &end )
{
MESSAGE_BEGIN( MSG_BROADCAST, SVC_TEMPENTITY );
WRITE_BYTE( TE_BEAMPOINTS );
WRITE_COORD( start.x );
WRITE_COORD( start.y );
WRITE_COORD( start.z );
WRITE_COORD( end.x );
WRITE_COORD( end.y );
WRITE_COORD( end.z );
WRITE_SHORT( g_sModelIndexFireSpot );
WRITE_BYTE( 0 ); // frame start
WRITE_BYTE( 2 ); // framerate
WRITE_BYTE( 1 ); // life
WRITE_BYTE( 3 ); // width
WRITE_BYTE( 0 ); // noise
int rndC;
rndC = RANDOM_LONG( 125, 255 );
WRITE_BYTE( rndC ); // R, g, b
WRITE_BYTE( rndC ); // r, G, b
WRITE_BYTE( rndC ); // r, g, B
WRITE_BYTE( 255 ); // brightness
WRITE_BYTE( RANDOM_LONG(1,10) ); // speed
MESSAGE_END();
}