HUDClient

setFakeMinimapMaxAltimeterHeight

SET_FAKE_MINIMAP_MAX_ALTIMETER_HEIGHT0xD201F3FF917A506D

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

SignatureJavaScript
setFakeMinimapMaxAltimeterHeight(altitude: number, p1: boolean, p2: any): void
SignatureLua
setFakeMinimapMaxAltimeterHeight(altitude: number, p1: boolean, p2: any)

Usage

JavaScript
setFakeMinimapMaxAltimeterHeight(altitude, p1, p2);
Lua
setFakeMinimapMaxAltimeterHeight(altitude, p1, p2)

Parameters

ParameterTypeJavaScriptLua
altitudefloatnumbernumber
p1BOOLbooleanboolean
p2Anyanyany

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.

Argument must be 0.0f or above 38.0f, or it will be ignored.

Reference

Namespace
HUD HUD
In the game
void SET_FAKE_MINIMAP_MAX_ALTIMETER_HEIGHT(float altitude, BOOL p1, Any p2)
Hash
0xD201F3FF917A506D
Formerly
_SET_MINIMAP_ATTITUDE_INDICATOR_LEVEL _SET_MINIMAP_ALTITUDE_INDICATOR_LEVEL

Open in the interactive natives reference