Native referenceRedM

_CREATE_WEAPON_OBJECT

0x9888652B8BA77F73 WEAPON
FUNCTION SIGNATURE
Object _CREATE_WEAPON_OBJECT(`weaponHash` (Hash), `ammoCount` (int), `x` (float), `y` (float), `z` (float), `showWorldModel` (BOOL), `scale` (float));
Property Value
Native Name _CREATE_WEAPON_OBJECT
Hash 0x9888652B8BA77F73
Return Type Object
Build 1207
Parameters weaponHash (Hash), ammoCount (int), x (float), y (float), z (float), showWorldModel (BOOL), scale (float)

Parameters

  • weaponHash (Hash)
  • ammoCount (int)
  • x (float)
  • y (float)
  • z (float)
  • showWorldModel (BOOL)
  • scale (float)

Usage

Lua (Direct):

local result = CreateWeaponObject(weaponHash, ammoCount, x, y, z, showWorldModel, scale)

Lua (Hash):

local result = Citizen.InvokeNative(0x9888652B8BA77F73, weaponHash, ammoCount, x, y, z, showWorldModel, scale)

Back to WEAPON