RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _GET_DEFAULT_UNARMED_WEAPON_HASH

_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 Hash

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details