setTextScale
SET_TEXT_SCALE0x07C837F9A01C34C9The GTA V native SET_TEXT_SCALE of the HUD namespace, as LS:MP client scripts call it: the global function setTextScale, in JavaScript and in Lua.
setTextScale(scale: number, size: number): voidsetTextScale(scale: number, size: number)Usage
JavaScript
setTextScale(scale, size);Lua
setTextScale(scale, size)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
scale | float | number | number |
size | float | number | number |
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.
Size range : 0F to 1.0F
p0 is unknown and doesn't seem to have an effect, yet in the game scripts it changes to 1.0F sometimes.
Reference
- Namespace
- HUD HUD
- In the game
void SET_TEXT_SCALE(float scale, float size)- Hash
0x07C837F9A01C34C9