setTextCentre
SET_TEXT_CENTRE0xC02F4DBFB51D988BThe GTA V native SET_TEXT_CENTRE of the HUD namespace, as LS:MP client scripts call it: the global function setTextCentre, in JavaScript and in Lua.
setTextCentre(align: boolean): voidsetTextCentre(align: boolean)Usage
JavaScript
setTextCentre(align);Lua
setTextCentre(align)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
align | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- HUD HUD
- In the game
void SET_TEXT_CENTRE(BOOL align)- Hash
0xC02F4DBFB51D988B