Game code
TASK::TASK_WANDER_IN_AREA
0x5C5F0CEA1FABCB93 ·RVA 0x044CA610
Signature
void TASK_WANDER_IN_AREA(
Ped ped,
Vector3 pos,
float radius,
float p5,
float p6,
BOOL p7
);
The scripts pass 8 values to this native; the decoded signature lists 6 (arguments the game doesn't read are left out).
Parameters 6
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Vector3 | pos |
– |
| 2 | float | radius |
– |
| 3 | float | p5 |
– |
| 4 | float | p6 |
– |
| 5 | BOOL | p7 |
RDR3 says int, but the game reads it as a true/false value. |
Returns
void Nothing.
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
Call it
// TASK::TASK_WANDER_IN_AREA
invoke<Void>(0x5C5F0CEA1FABCB93, ped, pos, radius, p5, p6, p7);// TASK::TASK_WANDER_IN_AREA
Function.Call((Hash)0x5C5F0CEA1FABCB93, ped, pos, radius, p5, p6, p7);-- TASK::TASK_WANDER_IN_AREA
Citizen.InvokeNative(0x5C5F0CEA1FABCB93, ped, pos, radius, p5, p6, p7)// TASK::TASK_WANDER_IN_AREA
Citizen.invokeNative("0x5C5F0CEA1FABCB93", ped, pos, radius, p5, p6, p7);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.