ENABLE_DISPATCH_SERVICE
Enables or disables the dispatch service dispatchService depending on toggle.
Signature
void ENABLE_DISPATCH_SERVICE(int dispatchService, BOOL toggle); // 0x50E52637EF70EF77 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | dispatchService | int |
| 2 | toggle | BOOL |
Facts
| 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.
Citizen.InvokeNative(0x50E52637EF70EF77, -- ENABLE_DISPATCH_SERVICE
0, -- int dispatchService
false -- BOOL toggle
)Citizen.invokeNative("0x50E52637EF70EF77", // ENABLE_DISPATCH_SERVICE
0, // int dispatchService
false // BOOL toggle
);Function.Call((Hash)0x50E52637EF70EF77, // ENABLE_DISPATCH_SERVICE
0, // int dispatchService
false // BOOL toggle
);Related MISC natives
- BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION
- _ADD_DISPATCH_SPAWN_BLOCKING_AREA
- _RESET_DISPATCH_MAX_SPAWN_DISTANCE
- _RESET_DISPATCH_MIN_SPAWN_DISTANCE
- _SET_DISPATCH_MAX_SPAWN_DISTANCE
- _SET_DISPATCH_MIN_SPAWN_DISTANCE
- ACTION_MANAGER_ENABLE_ACTION
- REMOVE_DISPATCH_SPAWN_BLOCKING_AREA
- RESET_DISPATCH_IDEAL_SPAWN_DISTANCE
- SET_DISPATCH_IDEAL_SPAWN_DISTANCE
- _0x0358B8A41916C613
- _0x0730E518486DEEC3
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.