Native referenceRedM

_DOES_PED_HAVE_SHOTGUN

0xABC18A28BAD4B46F WEAPON
FUNCTION SIGNATURE
BOOL _DOES_PED_HAVE_SHOTGUN(`ped` (Ped), `p1` (int));

Description: Returns whether the ped has a shotgun p1: 0 or 1

Property Value
Native Name _DOES_PED_HAVE_SHOTGUN
Hash 0xABC18A28BAD4B46F
Return Type BOOL
API Set client
Build 1207
Parameters ped (Ped), p1 (int)

Parameters

  • ped (Ped)
  • p1 (int)

Usage

Lua (Direct):

local result = DoesPedHaveShotgun(ped, p1)

Lua (Hash):

local result = Citizen.InvokeNative(0xABC18A28BAD4B46F, ped, p1)

Back to WEAPON