The Lab
MISC native

_ADD_DISPATCH_SPAWN_BLOCKING_AREA

returns Any1 parambuild 1207

Prevents dispatch services (such as lawmen) from spawning inside volume and returns an id for the blocking area.

Remove it later with REMOVE_DISPATCH_SPAWN_BLOCKING_AREA.

Signature

C
Any _ADD_DISPATCH_SPAWN_BLOCKING_AREA(Volume volume); // 0xA2D5A26208421426 b1207

Parameters

#NameType
1volumeVolume

Facts

Facts about _ADD_DISPATCH_SPAWN_BLOCKING_AREA
Name
_ADD_DISPATCH_SPAWN_BLOCKING_AREA
Hash
0xA2D5A26208421426
Namespace
Returns
Any
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local result = Citizen.InvokeNative(0xA2D5A26208421426, -- _ADD_DISPATCH_SPAWN_BLOCKING_AREA
  0, -- Volume volume
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0xA2D5A26208421426", // _ADD_DISPATCH_SPAWN_BLOCKING_AREA
  0, // Volume volume
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0xA2D5A26208421426, // _ADD_DISPATCH_SPAWN_BLOCKING_AREA
  0 // Volume volume
);
All MISC natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.