ShowInfoText
A line in the game’s info slot under the compass.
Syntax
Section titled “Syntax”ShowInfoText(text [, ms, priority, background])| Parameter | Type | |
|---|---|---|
text |
string | the line |
ms |
number | milliseconds (3000) (optional) |
priority |
number | 0 .. 255, a higher one is shown first (0) (optional) |
background |
boolean | a dark backing behind the line (false) (optional) |
Returns
Section titled “Returns”nothing
Example
Section titled “Example”ShowInfoText("Checkpoint reached", 2500, 0, true)See also
Section titled “See also”HideInfoText · ShowNotification · the The game’s HUD group of the index
