ScreenText
Sandbox.Game
void ScreenText( string text, int line = 0, float duration = 0, )

Summary

Draw yellow 2D text @ {100, 100}

Parameters

string text,

String to draw

int line = 0,

Current line to draw the text on or the line offset

float duration = 0,

How long to keep the text visible for. A duration of 0 is 1 frame