setTextFont
SET_TEXT_FONT0x66E0276CC5F6B9DAThe GTA V native SET_TEXT_FONT of the HUD namespace, as LS:MP client scripts call it: the global function setTextFont, in JavaScript and in Lua.
setTextFont(fontType: number): voidsetTextFont(fontType: integer)Usage
JavaScript
setTextFont(fontType);Lua
setTextFont(fontType)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
fontType | int | number | integer |
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.
fonts that mess up your text where made for number values/misc stuff
Reference
- Namespace
- HUD HUD
- In the game
void SET_TEXT_FONT(int fontType)- Hash
0x66E0276CC5F6B9DA