_ADD_SCENARIO_BLOCKING_VOLUME
Hash
0x4C39C95AE5DB1329Runtime name
AddScenarioBlockingVolumeNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
Any _ADD_SCENARIO_BLOCKING_VOLUME(Volume volume, BOOL p1, int flag);Parameters
| Name | Type | Description |
|---|---|---|
volume | Volume | — |
p1 | BOOL | — |
flag | int | — |
Returns Any
Description
flag: see ADD_SCENARIO_BLOCKING_AREA
Usage
local retval = AddScenarioBlockingVolume(volume, p1, flag)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4C39C95AE5DB1329, volume, p1, flag, Citizen.ResultAsInteger())JavaScript and C#
const retval = AddScenarioBlockingVolume(volume, p1, flag);
// by hash
const retval = Citizen.invokeNative('0x4C39C95AE5DB1329', volume, p1, flag, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x4C39C95AE5DB1329, volume, p1, flag);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Enums and flags
- eScenarioBlockingFlags 8 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.