blockDispatchServiceResourceCreation
BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION0x9B2BD3773123EA2FThe GTA V native BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION of the MISC namespace, as LS:MP client scripts call it: the global function blockDispatchServiceResourceCreation, in JavaScript and in Lua.
blockDispatchServiceResourceCreation(
dispatchService: number,
toggle: boolean
): voidblockDispatchServiceResourceCreation(
dispatchService: integer,
toggle: boolean
)Usage
JavaScript
blockDispatchServiceResourceCreation(dispatchService, toggle);Lua
blockDispatchServiceResourceCreation(dispatchService, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
dispatchService | int | number | integer |
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Misc MISC
- In the game
void BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION(int dispatchService, BOOL toggle)- Hash
0x9B2BD3773123EA2F