# MAP::_SET_RADAR_CONFIG_TYPE

- **Hash:** `0x9C113883487FD53C`
- **Namespace:** MAP
- **Runtime name (Lua/JS):** `SetRadarConfigType`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MAP/_SET_RADAR_CONFIG_TYPE

## Signature

```c
void _SET_RADAR_CONFIG_TYPE(Hash configHash, Hash p1);
```

## Parameters

- `configHash` (`Hash`)
- `p1` (`Hash`)

## Returns

`void`

## Description

https://github.com/femga/rdr3_discoveries/blob/master/graphics/minimap/radar/radar_configs.lua
configHash: -1943724816, 347777538, -117986897, -789269373, -547506804, -1986542417, 2080113112
p1: usually 898171178 or 0 in R* scripts (doesn't seems to have any effect)

## Usage

### Lua

```lua
SetRadarConfigType(configHash, p1)

-- always available, by hash
Citizen.InvokeNative(0x9C113883487FD53C, configHash, p1)
```

### JavaScript

```js
SetRadarConfigType(configHash, p1);

// by hash
Citizen.invokeNative('0x9C113883487FD53C', configHash, p1);
```

### C#

```csharp
Function.Call((Hash)0x9C113883487FD53C, configHash, p1);
```

- Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat("name")` or a backtick literal like `` `name` ``.
- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
