# MISC::BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION

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

## Signature

```c
void BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION(int dispatchService, BOOL toggle);
```

## Parameters

- `dispatchService` (`int`)
- `toggle` (`BOOL`)

## Returns

`void`

## Description

dispatchService: see ENABLE_DISPATCH_SERVICE

## Usage

### Lua

```lua
BlockDispatchServiceResourceCreation(dispatchService, toggle)

-- always available, by hash
Citizen.InvokeNative(0x66947E61A44DE2C6, dispatchService, toggle)
```

### JavaScript

```js
BlockDispatchServiceResourceCreation(dispatchService, toggle);

// by hash
Citizen.invokeNative('0x66947E61A44DE2C6', dispatchService, toggle);
```

### C#

```csharp
Function.Call((Hash)0x66947E61A44DE2C6, dispatchService, toggle);
```

*Sources: alloc8or RDR3 NativeDB.*
