RedM Natives

LOCK_MINIMAP_ANGLE

Locks the minimap to the specified angle in integer degrees.

Hash0x0BFD145EF819FB3A
Runtime nameLockMinimapAngle
NamespaceMAP
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x299FAEBB108AE05B

Signature

void LOCK_MINIMAP_ANGLE(int angle);

Parameters

NameTypeDescription
angleint—

Returns void

Description

Locks the minimap to the specified angle in integer degrees.

angle: The angle in whole degrees. If less than 0 or greater than 360, unlocks the angle.

Usage

Lua
LockMinimapAngle(angle)

-- always works, by hash
Citizen.InvokeNative(0x0BFD145EF819FB3A, angle)
JavaScript and C#
JavaScript
LockMinimapAngle(angle);

// by hash
Citizen.invokeNative('0x0BFD145EF819FB3A', angle);
C#
Function.Call((Hash)0x0BFD145EF819FB3A, angle);

See also

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.