RDR3 matchUnofficial name
WEAPON::_GET_BEST_PED_WEAPON_IN_GROUP
0x6718391760986D62 ·RVA 0x04A81FD0
Signature
Hash _GET_BEST_PED_WEAPON_IN_GROUP(
Ped ped,
Hash weaponGroup,
BOOL p2,
BOOL p3
);
The scripts pass 5 values to this native; the decoded signature lists 4 (arguments the game doesn't read are left out).
Parameters 4
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | ped |
– |
| 1 | Hash | weaponGroup |
– |
| 2 | BOOL | p2 |
– |
| 3 | BOOL | p3 |
– |
Returns
Hash
Call it
// WEAPON::_GET_BEST_PED_WEAPON_IN_GROUP
auto result = invoke<Hash>(0x6718391760986D62, ped, weaponGroup, p2, p3);// WEAPON::_GET_BEST_PED_WEAPON_IN_GROUP
uint result = Function.Call<uint>((Hash)0x6718391760986D62, ped, weaponGroup, p2, p3);-- WEAPON::_GET_BEST_PED_WEAPON_IN_GROUP
local result = Citizen.InvokeNative(0x6718391760986D62, ped, weaponGroup, p2, p3)// WEAPON::_GET_BEST_PED_WEAPON_IN_GROUP
const result = Citizen.invokeNative("0x6718391760986D62", ped, weaponGroup, p2, p3);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.