lockMinimapPosition
LOCK_MINIMAP_POSITION0x1279E861A329E73FThe GTA V native LOCK_MINIMAP_POSITION of the HUD namespace, as LS:MP client scripts call it: the global function lockMinimapPosition, in JavaScript and in Lua.
lockMinimapPosition(x: number, y: number): voidlockMinimapPosition(x: number, y: number)Usage
JavaScript
lockMinimapPosition(x, y);Lua
lockMinimapPosition(x, y)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | 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.
Locks the minimap to the specified world position.
Reference
- Namespace
- HUD HUD
- In the game
void LOCK_MINIMAP_POSITION(float x, float y)- Hash
0x1279E861A329E73F