Log In
Sign Up
Game codeUnofficial name

TASK::_TASK_PUT_PED_DIRECTLY_INTO_COVER_FROM_COORDS

0x460656842075A7AA ·RVA 0x044C7C10

Signature

void _TASK_PUT_PED_DIRECTLY_INTO_COVER_FROM_COORDS(
    Ped ped,
    Ped p1,
    Vector3 pos,
    Vector3 fromPos,
    Vector3 p8,
    int p9,
    BOOL p10,
    Any p11,
    Any p12,
    Any p13,
    int p14,
    Any p15,
    BOOL p16,
    Any p17
);

The scripts pass 19 values to this native; the decoded signature lists 14 (arguments the game doesn't read are left out).

Parameters 14

#TypeNameNotes
0Pedped –
1Pedp1 –
2Vector3pos –
3Vector3fromPos –
4Vector3p8 RDR3 doesn't give a type; the scripts pass vectors.
5intp9 RDR3 doesn't give a type; small whole numbers.
6BOOLp10 RDR3 doesn't give a type; the game reads it as a true/false value.
7Anyp11 the game doesn't read it.
8Anyp12 the game doesn't read it.
9Anyp13 the game doesn't read it.
10intp14 RDR3 doesn't give a type; the game reads it as a 32-bit integer.
11Anyp15 the game doesn't read it.
12BOOLp16 RDR3 doesn't give a type; the game reads it as a true/false value.
13Anyp17 the game doesn't read it.

Returns

void Nothing.

Notes

  • Names from RDR3; types from the game code, which differs from RDR3's signature:
  • p1 is not in RDR3's signature; the game reads it as a 16-byte value, and the scripts pass Ped values.
  • timeout, in RDR3's signature, is not passed in GTA VI.

Call it

// TASK::_TASK_PUT_PED_DIRECTLY_INTO_COVER_FROM_COORDS
invoke<Void>(0x460656842075A7AA, ped, p1, pos, fromPos, p8, p9, p10, p11, p12, p13, p14, p15, p16, p17);

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.