Log In
Sign Up
RDR3 match

PED::FORCE_PED_MOTION_STATE

0xB0A8F2350D769A2F ·RVA 0x04BCA100

Signature

BOOL FORCE_PED_MOTION_STATE(
    Ped ped,
    Hash motionStateHash,
    BOOL p2,
    int p3,
    BOOL p4
);

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

Parameters 5

#TypeNameNotes
0Pedped –
1HashmotionStateHash –
2BOOLp2 the game doesn't read it.
3intp3 –
4BOOLp4 –

Returns

BOOL

Call it

// PED::FORCE_PED_MOTION_STATE
auto result = invoke<BOOL>(0xB0A8F2350D769A2F, ped, motionStateHash, p2, p3, p4);

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.