Native referenceRedM

_DOES_PED_HAVE_RIFLE

0x95CA12E2C68043E5 WEAPON
FUNCTION SIGNATURE
BOOL _DOES_PED_HAVE_RIFLE(`ped` (Ped), `p1` (int));

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

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

Parameters

  • ped (Ped)
  • p1 (int)

Usage

Lua (Direct):

local result = DoesPedHaveRifle(ped, p1)

Lua (Hash):

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

Back to WEAPON