BOOL _ITEMDATABASE_GET_BUNDLE_ACQUIRE_COST(Hash bundle, int index, Any* outData);
| Property |
Value |
| Native Name |
_ITEMDATABASE_GET_BUNDLE_ACQUIRE_COST |
| Hash |
0x3A0B667ABFF87F6E |
| Return Type |
BOOL |
| Build |
1207 |
| Parameters |
bundle (Hash), index (int), outData (Any*) |
Description: eg: BUNDLE_CLOTHING_ITEM_F_OFFHAND_000_TINT_001 index: To use with 0x7A35A72A692BE9DB
Usage
Lua (Direct):
local result = ItemdatabaseGetBundleAcquireCost(bundle, index, outData)
Lua (Hash):
local result = Citizen.InvokeNative(0x3A0B667ABFF87F6E, bundle, index, outData)
Examples
struct outData {
Hash cost;
Any unk1; // Maybe bool, int otherwise
Hash costType;
int numCosts;
int unk2;
Any* costs; // Array of costs
};
struct Cost {
Hash currency;
int amount;
};
Back to ITEMDATABASE