Log In
Sign Up
RDR3 match

WEAPON::MAKE_PED_DROP_WEAPON

0x1AFD2C98310B39A2 ·RVA 0x04A8BCE0

Signature

Entity MAKE_PED_DROP_WEAPON(
    Ped ped,
    BOOL p1,
    int attachPoint,
    BOOL 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 –
1BOOLp1 –
2intattachPoint –
3BOOLp3 –
4BOOLp4 –

Returns

Entity

Call it

// WEAPON::MAKE_PED_DROP_WEAPON
auto result = invoke<Entity>(0x1AFD2C98310B39A2, ped, p1, attachPoint, 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.