endTextCommandGetScreenWidthOfDisplayText
END_TEXT_COMMAND_GET_SCREEN_WIDTH_OF_DISPLAY_TEXT0x85F061DA64ED2F67The 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.
endTextCommandGetScreenWidthOfDisplayText(p0: boolean): numberendTextCommandGetScreenWidthOfDisplayText(p0: boolean): numberUsage
JavaScript
const value = endTextCommandGetScreenWidthOfDisplayText(p0);Lua
local value = endTextCommandGetScreenWidthOfDisplayText(p0)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
p0 | BOOL | boolean | boolean |
Returns
float JavaScript number, Lua numberReference
- 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