Log In
Sign Up
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

#TypeNameNotes
0Pedped –
1Vector3pos –
2floatradius –
3floatp5 –
4floatp6 –
5BOOLp7 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);

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.