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