# MAP::LOCK_MINIMAP_ANGLE

- **Hash:** `0x0BFD145EF819FB3A`
- **Namespace:** MAP
- **Runtime name (Lua/JS):** `LockMinimapAngle`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MAP/LOCK_MINIMAP_ANGLE

## Signature

```c
void LOCK_MINIMAP_ANGLE(int angle);
```

## Parameters

- `angle` (`int`)

## 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

```lua
LockMinimapAngle(angle)

-- always available, by hash
Citizen.InvokeNative(0x0BFD145EF819FB3A, angle)
```

### JavaScript

```js
LockMinimapAngle(angle);

// by hash
Citizen.invokeNative('0x0BFD145EF819FB3A', angle);
```

### C#

```csharp
Function.Call((Hash)0x0BFD145EF819FB3A, angle);
```

## See also

- [MAP::UNLOCK_MINIMAP_ANGLE](https://natives.borderlinerp.com/natives/MAP/UNLOCK_MINIMAP_ANGLE.md)

*Sources: alloc8or RDR3 NativeDB.*
