HUDClientNot in this build

setTextLineHeightMult

SET_TEXT_LINE_HEIGHT_MULT0x9F4624F76E6953D1

The GTA V native SET_TEXT_LINE_HEIGHT_MULT of the HUD namespace, as LS:MP client scripts call it: the global function setTextLineHeightMult, in JavaScript and in Lua.

SignatureJavaScript
setTextLineHeightMult(lineHeightMult: number): void
SignatureLua
setTextLineHeightMult(lineHeightMult: number)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
setTextLineHeightMult(lineHeightMult);
Lua
setTextLineHeightMult(lineHeightMult)

Parameters

ParameterTypeJavaScriptLua
lineHeightMultfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_TEXT_LINE_HEIGHT_MULT(float lineHeightMult)
Hash
0x9F4624F76E6953D1
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference