HUDClient

endTextCommandPrint

END_TEXT_COMMAND_PRINT0x9D77056A530643F6

The GTA V native END_TEXT_COMMAND_PRINT of the HUD namespace, as LS:MP client scripts call it: the global function endTextCommandPrint, in JavaScript and in Lua.

SignatureJavaScript
endTextCommandPrint(duration: number, drawImmediately: boolean): void
SignatureLua
endTextCommandPrint(duration: integer, drawImmediately: boolean)

Usage

JavaScript
endTextCommandPrint(duration, drawImmediately);
Lua
endTextCommandPrint(duration, drawImmediately)

Parameters

ParameterTypeJavaScriptLua
durationintnumberinteger
drawImmediatelyBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Draws the subtitle at middle center of the screen.

int duration = time in milliseconds to show text on screen before disappearing

drawImmediately = If true, the text will be drawn immediately, if false, the text will be drawn after the previous subtitle has finished

Reference

Namespace
HUD HUD
In the game
void END_TEXT_COMMAND_PRINT(int duration, BOOL drawImmediately)
Hash
0x9D77056A530643F6
Formerly
_DRAW_SUBTITLE_TIMED

Open in the interactive natives reference