_GET_LINKED_SCENARIO_POINTS
Writes up to maxPoints scenario points linked to scenarioPoint into outPoints and returns how many were written.
Signature
int _GET_LINKED_SCENARIO_POINTS(int scenarioPoint, int* outPoints, int maxPoints); // 0xE7BBC4E56B989449 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | scenarioPoint | int |
| 2 | outPoints | int* (out pointer) |
| 3 | maxPoints | int |
Facts
| Name | _GET_LINKED_SCENARIO_POINTS |
|---|---|
| Hash | 0xE7BBC4E56B989449 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, outPoints = Citizen.InvokeNative(0xE7BBC4E56B989449, -- _GET_LINKED_SCENARIO_POINTS
0, -- int scenarioPoint
Citizen.PointerValueInt(), -- int* outPoints
0, -- int maxPoints
Citizen.ResultAsInteger()
)
print(result, outPoints)const [result, outPoints] = Citizen.invokeNative("0xE7BBC4E56B989449", // _GET_LINKED_SCENARIO_POINTS
0, // int scenarioPoint
Citizen.pointerValueInt(), // int* outPoints
0, // int maxPoints
Citizen.resultAsInteger()
);
console.log(result, outPoints)var outPointsArg = new OutputArgument();
int result = Function.Call<int>((Hash)0xE7BBC4E56B989449, // _GET_LINKED_SCENARIO_POINTS
0, // int scenarioPoint
outPointsArg, // int* outPoints
0 // int maxPoints
);
int outPoints = outPointsArg.GetResult<int>();Related TASK natives
- GET_SCENARIO_POINTS_IN_AREA
- _GET_PED_USING_SCENARIO_POINT
- _GET_RANSACK_SCENARIO_CONTAINER_NUM_COMPARTMENTS
- _GET_RANSACK_SCENARIO_CONTAINER_NUM_OPEN_COMPARTMENTS
- _GET_RANSACK_SCENARIO_CONTAINER_OPENING_STATE
- _GET_RANSACK_SCENARIO_CONTAINER_REMAINING_LOOT_COUNT
- _GET_SCENARIO_POINT_COORDS
- _GET_SCENARIO_POINT_ENTITY
- _GET_SCENARIO_POINT_HEADING
- _GET_SCENARIO_POINT_PED_IS_USING
- _GET_SCENARIO_POINT_RADIUS
- _GET_SCENARIO_POINT_TYPE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.