_ADD_SCENARIO_BLOCKING_VOLUME
Blocks scenarios from starting inside volume and returns a handle to the blocking area. flag adjusts which scenarios are affected.
Signature
Any _ADD_SCENARIO_BLOCKING_VOLUME(Volume volume, BOOL p1, int flag); // 0x4C39C95AE5DB1329 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | volume | Volume |
| 2 | p1 | BOOL |
| 3 | flag | int |
Facts
| 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.
local result = Citizen.InvokeNative(0x4C39C95AE5DB1329, -- _ADD_SCENARIO_BLOCKING_VOLUME
0, -- Volume volume
false, -- BOOL p1
0, -- int flag
Citizen.ResultAsInteger()
)
print(result)const result = Citizen.invokeNative("0x4C39C95AE5DB1329", // _ADD_SCENARIO_BLOCKING_VOLUME
0, // Volume volume
false, // BOOL p1
0, // int flag
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0x4C39C95AE5DB1329, // _ADD_SCENARIO_BLOCKING_VOLUME
0, // Volume volume
false, // BOOL p1
0 // int flag
);Related PED natives
- _ADD_SCENARIO_TRANSITION
- ADD_SCENARIO_BLOCKING_AREA
- _ADD_PED_STAY_OUT_VOLUME
- _IS_SCENARIO_BLOCKING_AREA_VALID
- _SET_SCENARIO_PED_VOLUME_REFERENCE
- REMOVE_SCENARIO_BLOCKING_AREA
- REMOVE_SCENARIO_BLOCKING_AREAS
- _ADD_PED_SUBSCRIBE_TO_LEGENDARY_BLIPS
- _ADD_TEXTURE_LAYER
- _ATTACH_VOLUME_TO_ENTITY
- _CAN_PED_USE_SCENARIO_POINT
- _DETACH_VOLUME_FROM_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.