Native referenceRedM

_ITEMDATABASE_GET_BUNDLE_ACQUIRE_COSTS_COUNT_FROM_COST

0x388088BFF3681189 ITEMDATABASE
FUNCTION SIGNATURE
int _ITEMDATABASE_GET_BUNDLE_ACQUIRE_COSTS_COUNT_FROM_COST(Hash bundle, Hash cost);
Property Value
Native Name _ITEMDATABASE_GET_BUNDLE_ACQUIRE_COSTS_COUNT_FROM_COST
Hash 0x388088BFF3681189
Return Type int
Build 1232
Parameters bundle (Hash), cost (Hash)

Description: Return the number of currencies available for a bundle. To use with _ITEMDATABASE_FILLOUT_BUNDLE bundle: Hash — e.g: BUNDLE_CLOTHING_ITEM_F_OFFHAND_000_TINT_001 cost: Hash — e.g: COST_GOLD, COST_CRAFTING_MP...

Usage

Lua (Direct):

local result = ItemdatabaseGetBundleAcquireCostsCountFromCost(bundle, cost)

Lua (Hash):

local result = Citizen.InvokeNative(0x388088BFF3681189, bundle, cost)
Back to ITEMDATABASE