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

Summary

Draw yellow 2D text

Parameters

string text,

String to draw

Vector2 position,

Screen position of the text

float duration = 0,

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