The Lab
MISC native

ENABLE_DISPATCH_SERVICE

returns void2 paramsbuild 1207

Enables or disables the dispatch service dispatchService depending on toggle.

Signature

C
void ENABLE_DISPATCH_SERVICE(int dispatchService, BOOL toggle); // 0x50E52637EF70EF77 b1207

Parameters

#NameType
1dispatchServiceint
2toggleBOOL

Facts

Facts about ENABLE_DISPATCH_SERVICE
Name
ENABLE_DISPATCH_SERVICE
Hash
0x50E52637EF70EF77
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(0x50E52637EF70EF77, -- ENABLE_DISPATCH_SERVICE
  0, -- int dispatchService
  false -- BOOL toggle
)
JavaScript
Citizen.invokeNative("0x50E52637EF70EF77", // ENABLE_DISPATCH_SERVICE
  0, // int dispatchService
  false // BOOL toggle
);
C#
Function.Call((Hash)0x50E52637EF70EF77, // ENABLE_DISPATCH_SERVICE
  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.