How to Print to Screen

Started by ngocson389, Aug 15, 2016, 12:38 PM

Previous topic - Next topic

ngocson389

How to print text to Screen like this:


KAKAN

If you're using rel03 version, use CreateTextdraw and if rel04, do some client side shits.
oh no

ngocson389

#2
Can u give me some line code for 004 :p Tksssss

MatheuS

function Script::ScriptLoad()
{
    TextDraw <- GUIMemobox( VectorScreen( 1000, 500 ), VectorScreen( 100, 100 ), Colour( 255, 202, 202, 255 ) );
    TextDraw.AddLine( "First line" );
    TextDraw.AddLine( "Second line" );
}

Here is an example of how to create the client-side TextDraw.

To add the FPS use the code made by @Doom_Kill3R recently posted on the forum.
Link: FPS Label
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

ngocson389

Oh tks. so. How can i get pos in screen

MatheuS

if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.