RedM Natives

BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION

Hash0x66947E61A44DE2C6
Runtime nameBlockDispatchServiceResourceCreation
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9B2BD3773123EA2F

Signature

void BLOCK_DISPATCH_SERVICE_RESOURCE_CREATION(int dispatchService, BOOL toggle);

Parameters

NameTypeDescription
dispatchServiceint—
toggleBOOL—

Returns void

Description

dispatchService: see ENABLE_DISPATCH_SERVICE

Usage

Lua
BlockDispatchServiceResourceCreation(dispatchService, toggle)

-- always works, by hash
Citizen.InvokeNative(0x66947E61A44DE2C6, dispatchService, toggle)
JavaScript and C#
JavaScript
BlockDispatchServiceResourceCreation(dispatchService, toggle);

// by hash
Citizen.invokeNative('0x66947E61A44DE2C6', dispatchService, toggle);
C#
Function.Call((Hash)0x66947E61A44DE2C6, dispatchService, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.