setFakeMinimapMaxAltimeterHeight
SET_FAKE_MINIMAP_MAX_ALTIMETER_HEIGHT0xD201F3FF917A506DThe 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.
setFakeMinimapMaxAltimeterHeight(altitude: number, p1: boolean, p2: any): voidsetFakeMinimapMaxAltimeterHeight(altitude: number, p1: boolean, p2: any)Usage
JavaScript
setFakeMinimapMaxAltimeterHeight(altitude, p1, p2);Lua
setFakeMinimapMaxAltimeterHeight(altitude, p1, p2)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
altitude | float | number | number |
p1 | BOOL | boolean | boolean |
p2 | Any | any | any |
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