local fn = _gn(0x9541D3CF0D398F36)
--- Create a weapon object that cannot be attached to a ped. If you want to create a weapon object that can be attached to a ped, use [`CREATE_OBJECT`](#\_0x509D5878EB39E842) instead.
-- ```
-- NativeDB Added Parameter 9: BOOL bRegisterAsNetworkObject
-- NativeDB Added Parameter 10: BOOL bScriptHostObject
-- ```
-- @param weaponHash The hash of the weapon to create.
-- @param ammoCount The amount of ammo for the weapon.
-- @param x X coordinate for the weapon's position.
-- @param y Y coordinate for the weapon's position.
-- @param z Z coordinate for the weapon's position.
-- @param bCreateDefaultComponents Boolean that indicates whether the default components should be created for that weapon (`true`/`false`).
-- @param scale The size of the object, to increase it, set the scale to a value greater than `1.0`.
-- @param customModelHash The hash of the custom model to use for the weapon object. Set to `0` if you do not intend to use a custom model hash.
function Global.CreateWeaponObject(weaponHash, ammoCount, x, y, z, bCreateDefaultComponents, scale, customModelHash)
	return fn(_ch(weaponHash), ammoCount, x, y, z, bCreateDefaultComponents, scale, customModelHash, _ri)
end
