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