beginTextCommandGetScreenWidthOfDisplayText
BEGIN_TEXT_COMMAND_GET_SCREEN_WIDTH_OF_DISPLAY_TEXT0x54CE8AC98E120CABThe GTA V native BEGIN_TEXT_COMMAND_GET_SCREEN_WIDTH_OF_DISPLAY_TEXT of the HUD namespace, as LS:MP client scripts call it: the global function beginTextCommandGetScreenWidthOfDisplayText, in JavaScript and in Lua.
beginTextCommandGetScreenWidthOfDisplayText(text: string): voidbeginTextCommandGetScreenWidthOfDisplayText(text: string)Usage
JavaScript
beginTextCommandGetScreenWidthOfDisplayText(text);Lua
beginTextCommandGetScreenWidthOfDisplayText(text)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
text | string | string | string |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void BEGIN_TEXT_COMMAND_GET_SCREEN_WIDTH_OF_DISPLAY_TEXT(const char* text)- Hash
0x54CE8AC98E120CAB- Formerly
_SET_TEXT_ENTRY_FOR_WIDTH_BEGIN_TEXT_COMMAND_WIDTH_BEGIN_TEXT_COMMAND_GET_WIDTH