The Lab
PED native

_ADD_SCENARIO_BLOCKING_VOLUME

returns Any3 paramsbuild 1207

Blocks scenarios from starting inside volume and returns a handle to the blocking area. flag adjusts which scenarios are affected.

Signature

C
Any _ADD_SCENARIO_BLOCKING_VOLUME(Volume volume, BOOL p1, int flag); // 0x4C39C95AE5DB1329 b1207

Parameters

#NameType
1volumeVolume
2p1BOOL
3flagint

Facts

Facts about _ADD_SCENARIO_BLOCKING_VOLUME
Name
_ADD_SCENARIO_BLOCKING_VOLUME
Hash
0x4C39C95AE5DB1329
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(0x4C39C95AE5DB1329, -- _ADD_SCENARIO_BLOCKING_VOLUME
  0, -- Volume volume
  false, -- BOOL p1
  0, -- int flag
  Citizen.ResultAsInteger()
)
print(result)
JavaScript
const result = Citizen.invokeNative("0x4C39C95AE5DB1329", // _ADD_SCENARIO_BLOCKING_VOLUME
  0, // Volume volume
  false, // BOOL p1
  0, // int flag
  Citizen.resultAsInteger()
);
console.log(result)
C#
int result = Function.Call<int>((Hash)0x4C39C95AE5DB1329, // _ADD_SCENARIO_BLOCKING_VOLUME
  0, // Volume volume
  false, // BOOL p1
  0 // int flag
);
All PED natives

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