HUDClient

setMaxHealthHudDisplay

SET_MAX_HEALTH_HUD_DISPLAY0x975D66A0BC17064C

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

SignatureJavaScript
setMaxHealthHudDisplay(maximumValue: number): void
SignatureLua
setMaxHealthHudDisplay(maximumValue: integer)

Usage

JavaScript
setMaxHealthHudDisplay(maximumValue);
Lua
setMaxHealthHudDisplay(maximumValue)

Parameters

ParameterTypeJavaScriptLua
maximumValueintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
HUD HUD
In the game
void SET_MAX_HEALTH_HUD_DISPLAY(int maximumValue)
Hash
0x975D66A0BC17064C

Open in the interactive natives reference