_GET_DEFAULT_UNARMED_WEAPON_HASH
Returns the ped's default unarmed weapon hash as defined in CPedModelInfo (DefaultUnarmedWeapon). Falls back to WEAPON_UNARMED if the ped doesn't have a valid model info pointer, or 0 if the ped doesn't exist.
WEAPONBuild 1207
Signature
lua
GetDefaultUnarmedWeaponHash(PlayerPedId())
-- returns HashParameters
| Name | Type | Description |
|---|---|---|
| Ped | — |
Usage
lua
GetDefaultUnarmedWeaponHash(PlayerPedId())Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
