Hello, 
Another tutorial, this time is about the use of the line command, first of all you need this dvars and files in your mod:
If you dont have _painter.gsc, click on the link:
http://pastebin.com/ryeAyxY4
To spawn a line you can make it work like this:
I recomend using a loop to make the line constant (then you dont need the time value), an example:
That example of there will spawn a constant line of random colours at your front. You can make many different things with lines, just use your imagination,
. I would like to give a big thanks to @iAegle for saying the exact file I needed to put on the mod (previously I had to put the whole common scripts folder to get it working).
Thats it,

Another tutorial, this time is about the use of the line command, first of all you need this dvars and files in your mod:
Code:
self setClientDvars( "developer", 1, "developer_script", 1 );
common_scripts\_painter.gsc
If you dont have _painter.gsc, click on the link:
http://pastebin.com/ryeAyxY4
To spawn a line you can make it work like this:
Code:
line( start point, end point, ( red, green, blue ), time);
I recomend using a loop to make the line constant (then you dont need the time value), an example:
Code:
Lines()
{
self endon( "death" );
self endon( "disconnect" );
while( 1 )
{
line( self.origin + ( 0, 0, 10 ), self.origin + anglestoforward( self.angles ) * 5000, ( randomfloat( 1 ), randomfloat( 1 ), randomfloat( 1 ) ) );
wait 0.05;
}
}
That example of there will spawn a constant line of random colours at your front. You can make many different things with lines, just use your imagination,

Thats it,
