# CFX::GET_MINIMAP_TYPE

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

## Signature

```c
int GET_MINIMAP_TYPE();
```

## Returns

`int`

## Description

*Source: Cfx.re native reference*

Get the minimap type:

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

## Usage

### Lua

```lua
local retval = GetMinimapType()

-- always available, by hash
local retval = Citizen.InvokeNative(0xa6ff71c9, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetMinimapType();

// by hash
const retval = Citizen.invokeNative('0xa6ff71c9', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0xa6ff71c9);
```

## See also

- [CFX::SET_MINIMAP_TYPE](https://natives.borderlinerp.com/natives/CFX/SET_MINIMAP_TYPE.md) — Possible Types:

*Sources: Cfx.re native reference.*
