# CFX::SET_MAP_NAME

- **Hash:** `0xB7BA82DC`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `SetMapName`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** named only
- **URL:** https://natives.borderlinerp.com/natives/CFX/SET_MAP_NAME

## Signature

```c
void SET_MAP_NAME(char* mapName);
```

## Parameters

- `mapName` (`char*`)

## Returns

`void`

## Usage

### Lua

```lua
SetMapName(mapName)

-- always available, by hash
Citizen.InvokeNative(0xb7ba82dc, mapName)
```

### JavaScript

```js
SetMapName(mapName);

// by hash
Citizen.invokeNative('0xb7ba82dc', mapName);
```

### C#

```csharp
Function.Call((Hash)0xb7ba82dc, mapName);
```

*Sources: Cfx.re native reference.*
