# CFX::SET_MINIMAP_TYPE

- **Hash:** `0x5FB53015`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetMinimapType`
- **Side:** client (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_MINIMAP_TYPE

## Signature

```c
void SET_MINIMAP_TYPE(int type);
```

## Parameters

- `type` (`int`) — Type to set the minimap to.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

Possible Types:

```
0 = Off,
1 = Regular,
2 = Expanded,
3 = Simple,
```

## Usage

### Lua

```lua
SetMinimapType(type)

-- always available, by hash
Citizen.InvokeNative(0x5fb53015, type)
```

### JavaScript

```js
SetMinimapType(type);

// by hash
Citizen.invokeNative('0x5fb53015', type);
```

### C#

```csharp
Function.Call((Hash)0x5fb53015, type);
```

## See also

- [CFX::GET_MINIMAP_TYPE](https://natives.borderlinerp.com/natives/CFX/GET_MINIMAP_TYPE.md) — Get the minimap type:

*Sources: Cfx.re native reference.*
