The Lab
MISC native

BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION

returns void2 paramsbuild 1207

Prevents or allows the dispatch service dispatchService from creating new units, depending on toggle.

Signature

C
void BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION(int dispatchService, BOOL toggle); // 0x66947E61A44DE2C6 b1207

Parameters

#NameType
1dispatchServiceint
2toggleBOOL

Facts

Facts about BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION
Name
BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION
Hash
0x66947E61A44DE2C6
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x66947E61A44DE2C6, -- BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION
  0, -- int dispatchService
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x66947E61A44DE2C6", // BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION
  0, // int dispatchService
  false // BOOL toggle
);
C#
Function.Call((Hash)0x66947E61A44DE2C6, // BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION
  0, // int dispatchService
  false // BOOL toggle
);
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.