RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. GET_CURRENT_PED_WEAPON

GET_CURRENT_PED_WEAPON

Returns the hash of weapon the Ped is currently using.

CFX

Signature

lua
GetCurrentPedWeapon(PlayerPedId())
-- returns Hash

Parameters

NameTypeDescription
PedThe target ped.

Usage

lua
GetCurrentPedWeapon(PlayerPedId())

Generated from the native name, hash, and parameter list. Add a real example.

Details

Hash
API set
Source
cfx

Source: cfx

On this page

  • Signature
  • Parameters
  • Usage
  • Details