_PED_IS_IN_SCENARIO_BASE
Returns true if ped is in the base (idle) loop of a scenario.
Signature
BOOL _PED_IS_IN_SCENARIO_BASE(Ped ped); // 0x02EBBB3989B7E695 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _PED_IS_IN_SCENARIO_BASE |
|---|---|
| Hash | 0x02EBBB3989B7E695 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x02EBBB3989B7E695, -- _PED_IS_IN_SCENARIO_BASE
PlayerPedId() -- Ped ped
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x02EBBB3989B7E695", // _PED_IS_IN_SCENARIO_BASE
PlayerPedId(), // Ped ped
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x02EBBB3989B7E695, // _PED_IS_IN_SCENARIO_BASE
API.PlayerPedId() // Ped ped
);Related TASK natives
- IS_PED_ACTIVE_IN_SCENARIO
- _GET_SCENARIO_POINT_PED_IS_USING
- _GET_SCENARIO_POINT_TYPE_PED_IS_USING
- _IS_PED_ARRESTING_ANY_PED
- _IS_SCENARIO_IN_USE
- GET_IS_PED_AIMING_IN_THE_AIR
- GET_RANSACK_SCENARIO_POINT_PED_IS_USING
- IS_PED_EXITING_SCENARIO
- IS_PED_IN_HIT_REACT
- IS_PED_IN_WRITHE
- IS_PED_SCENARIO_REACT_LOOKING
- _GET_PED_IS_IGNORING_DEAD_BODIES
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.