Game code
TASK::GET_SCENARIO_POINTS_IN_AREA
0x1421E34ACBA13C48 ·RVA 0x0445F170
Signature
int GET_SCENARIO_POINTS_IN_AREA(
Vector3 pos,
float radius,
Any* scenariosInRadius
);
The scripts pass 4 values to this native; the decoded signature lists 3 (arguments the game doesn't read are left out).
Parameters 3
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos |
– |
| 1 | float | radius |
– |
| 2 | Any* | scenariosInRadius |
– |
Returns
int
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- size, in RDR3's signature, is not passed in GTA VI.
Call it
// TASK::GET_SCENARIO_POINTS_IN_AREA
auto result = invoke<int>(0x1421E34ACBA13C48, pos, radius, &scenariosInRadius);// TASK::GET_SCENARIO_POINTS_IN_AREA
int result = Function.Call<int>((Hash)0x1421E34ACBA13C48, pos, radius, scenariosInRadius);-- TASK::GET_SCENARIO_POINTS_IN_AREA
local result = Citizen.InvokeNative(0x1421E34ACBA13C48, pos, radius, scenariosInRadius)// TASK::GET_SCENARIO_POINTS_IN_AREA
const result = Citizen.invokeNative("0x1421E34ACBA13C48", pos, radius, scenariosInRadius);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.