The Lab
TASK native

_GET_SCENARIO_POINT_ENTITY

returns Entity1 parambuild 1207

Returns the entity the scenario point scenario is attached to, or 0 if none.

Signature

C
Entity _GET_SCENARIO_POINT_ENTITY(int scenario); // 0x7467165EE97D3C68 b1207

Parameters

#NameType
1scenarioint

Facts

Facts about _GET_SCENARIO_POINT_ENTITY
Name
_GET_SCENARIO_POINT_ENTITY
Hash
0x7467165EE97D3C68
Namespace
Returns
Entity
Game build
1207

Examples

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

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

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