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

Summary

Draw 2D text

Parameters

string text,

String to draw

Vector2 position,

Screen position of the text

int line,

Current line to draw the text on or the line offset

Color color,

Color of the text

float duration = 0,

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