_GET_LINKED_SCENARIO_POINTS
Fills an output array with scenario points linked ("chained") to a given parent scenario point.
0xE7BBC4E56B989449GetLinkedScenarioPointsSignature
int _GET_LINKED_SCENARIO_POINTS(int scenarioPoint, int* outPoints, int maxPoints);Parameters
| Name | Type | Description |
|---|---|---|
scenarioPoint | int | — |
outPoints | int* | — |
maxPoints | int | — |
Returns int
Description
Fills an output array with scenario points linked ("chained") to a given parent scenario point. Returns the number of linked points found. Writes up to maxPoints and zeroes remaining entries. Useful for flows like chained put-down scenarios.
Params:
- scenarioPoint: Parent scenario point handle.
- outPoints: Pointer to an int array that receives the linked scenario point handles.
- maxPoints: Capacity of outPoints.
Returns: Count of linked scenario points written (0 if none).
Fills an output array with scenario points linked (chained) to a given parent scenario point. Returns the number of linked points found. Writes up to maxPoints and zeroes remaining entries. Useful for flows like chained put-down scenarios.
Usage
local retval, outPoints = GetLinkedScenarioPoints(scenarioPoint, maxPoints)
-- always works, by hash
local retval, outPoints = Citizen.InvokeNative(0xE7BBC4E56B989449, scenarioPoint, Citizen.PointerValueInt(), maxPoints, Citizen.ResultAsInteger())JavaScript and C#
const [retval, outPoints] = GetLinkedScenarioPoints(scenarioPoint, maxPoints);
// by hash
const [retval, outPoints] = Citizen.invokeNative('0xE7BBC4E56B989449', scenarioPoint, Citizen.pointerValueInt(), maxPoints, Citizen.returnResultAnyway(), Citizen.resultAsInteger());var outPoints = new OutputArgument();
int retval = Function.Call<int>((Hash)0xE7BBC4E56B989449, scenarioPoint, outPoints, maxPoints);
// outPoints.GetResult<int>()- Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.
- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
Sources
alloc8or RDR3 NativeDB · VORPCORE RDR3natives
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.