The Lab
TASK native

_GET_PED_USING_SCENARIO_POINT

returns Ped1 parambuild 1207

Returns the ped currently using the scenario point scenario, or 0 if none.

Signature

C
Ped _GET_PED_USING_SCENARIO_POINT(int scenario); // 0x5BA659955369B0E2 b1207

Parameters

#NameType
1scenarioint

Facts

Facts about _GET_PED_USING_SCENARIO_POINT
Name
_GET_PED_USING_SCENARIO_POINT
Hash
0x5BA659955369B0E2
Namespace
Returns
Ped
Game build
1207

Examples

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

Lua
local ped = Citizen.InvokeNative(0x5BA659955369B0E2, -- _GET_PED_USING_SCENARIO_POINT
  0, -- int scenario
  Citizen.ResultAsInteger()
)
print(ped)
JavaScript
const ped = Citizen.invokeNative("0x5BA659955369B0E2", // _GET_PED_USING_SCENARIO_POINT
  0, // int scenario
  Citizen.resultAsInteger()
);
console.log(ped)
C#
int ped = Function.Call<int>((Hash)0x5BA659955369B0E2, // _GET_PED_USING_SCENARIO_POINT
  0 // int scenario
);
All TASK natives

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