The Lab
TASK native

GET_PROP_FOR_SCENARIO_POINT

returns Entity2 paramsbuild 1207

Returns the prop named name associated with the scenario point scenarioPoint.

Signature

C
Entity GET_PROP_FOR_SCENARIO_POINT(int scenarioPoint, const char* name); // 0x295514F198EFD0CA b1207

Parameters

#NameType
1scenarioPointint
2nameconst char*

Facts

Facts about GET_PROP_FOR_SCENARIO_POINT
Name
GET_PROP_FOR_SCENARIO_POINT
Hash
0x295514F198EFD0CA
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(0x295514F198EFD0CA, -- GET_PROP_FOR_SCENARIO_POINT
  0, -- int scenarioPoint
  "text", -- const char* name
  Citizen.ResultAsInteger()
)
print(entity)
JavaScript
const entity = Citizen.invokeNative("0x295514F198EFD0CA", // GET_PROP_FOR_SCENARIO_POINT
  0, // int scenarioPoint
  "text", // const char* name
  Citizen.resultAsInteger()
);
console.log(entity)
C#
int entity = Function.Call<int>((Hash)0x295514F198EFD0CA, // GET_PROP_FOR_SCENARIO_POINT
  0, // int scenarioPoint
  "text" // const char* name
);
All TASK natives

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