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