The Lab
TASK native

_IS_SCENARIO_IN_USE

returns BOOL1 parambuild 1436

Returns true if the scenario point scenario is being used by a ped.

Signature

C
BOOL _IS_SCENARIO_IN_USE(int scenario); // 0x1ACBC313966C21F3 b1436

Parameters

#NameType
1scenarioint

Facts

Facts about _IS_SCENARIO_IN_USE
Name
_IS_SCENARIO_IN_USE
Hash
0x1ACBC313966C21F3
Namespace
Returns
BOOL
Game build
1436

Examples

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

Lua
local result = Citizen.InvokeNative(0x1ACBC313966C21F3, -- _IS_SCENARIO_IN_USE
  0 -- int scenario
)
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x1ACBC313966C21F3", // _IS_SCENARIO_IN_USE
  0, // int scenario
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x1ACBC313966C21F3, // _IS_SCENARIO_IN_USE
  0 // int scenario
);
All TASK natives

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