HUDClient

endTextCommandGetScreenWidthOfDisplayText

END_TEXT_COMMAND_GET_SCREEN_WIDTH_OF_DISPLAY_TEXT0x85F061DA64ED2F67

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

SignatureJavaScript
endTextCommandGetScreenWidthOfDisplayText(p0: boolean): number
SignatureLua
endTextCommandGetScreenWidthOfDisplayText(p0: boolean): number

Usage

JavaScript
const value = endTextCommandGetScreenWidthOfDisplayText(p0);
Lua
local value = endTextCommandGetScreenWidthOfDisplayText(p0)

Parameters

ParameterTypeJavaScriptLua
p0BOOLbooleanboolean

Returns

float JavaScript number, Lua number

Reference

Namespace
HUD HUD
In the game
float END_TEXT_COMMAND_GET_SCREEN_WIDTH_OF_DISPLAY_TEXT(BOOL p0)
Hash
0x85F061DA64ED2F67
Formerly
_GET_TEXT_SCREEN_WIDTH _END_TEXT_COMMAND_GET_WIDTH

Open in the interactive natives reference