Log In
Sign Up
RDR3 match

WEAPON::GET_BEST_PED_WEAPON

0x7477751D7B7C1671 ·RVA 0x04A821A0

Signature

Hash GET_BEST_PED_WEAPON(Ped ped, BOOL p1, BOOL p2);

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

Parameters 3

#TypeNameNotes
0Pedped –
1BOOLp1 –
2BOOLp2 –

Returns

Hash

Call it

// WEAPON::GET_BEST_PED_WEAPON
auto result = invoke<Hash>(0x7477751D7B7C1671, ped, p1, p2);

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.