Display text in a screen

Hello everybody!
Prompt how to display an text in a screen corner
Help plz =)
Sorry for my english

draw.SimpleText in a

GM:HUDPaint hook (which can be added using

hook.Add)

Plz, Can you write a example?



hook.Add( 'HUDPaint', 'drawtextstuff', function()
    draw.SimpleText( 'sample text', 'Trebuchet24', 0, 0, Color( 255, 255, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP )
end )


That’d draw some white text (saying ‘sample text’) in the top-left corner.

Thx everybody!