lockMinimapAngle
LOCK_MINIMAP_ANGLE0x299FAEBB108AE05BThe GTA V native LOCK_MINIMAP_ANGLE of the HUD namespace, as LS:MP client scripts call it: the global function lockMinimapAngle, in JavaScript and in Lua.
lockMinimapAngle(angle: number): voidlockMinimapAngle(angle: integer)Usage
JavaScript
lockMinimapAngle(angle);Lua
lockMinimapAngle(angle)Parameters
| Parameter | Type | JavaScript | Lua | Description |
|---|---|---|---|---|
angle | int | number | integer | The angle in whole degrees. If less than 0 or greater than 360, unlocks the angle. |
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 angle in integer degrees.
Reference
- Namespace
- HUD HUD
- In the game
void LOCK_MINIMAP_ANGLE(int angle)- Hash
0x299FAEBB108AE05B