_ITEMDATABASE_GET_BUNDLE_ACQUIRE_COST
eg: BUNDLE_CLOTHING_ITEM_F_OFFHAND_000_TINT_001 index: To use with 0x7A35A72A692BE9DB
ITEMDATABASEBuild 1207
Signature
lua
ItemdatabaseGetBundleAcquireCost(GetHashKey("..."), 0, outData)
-- returns BOOLParameters
| Name | Type | Description |
|---|---|---|
| Hash | — | |
| int | — | |
| Any* | — |
Usage
Named call
ItemdatabaseGetBundleAcquireCost(GetHashKey("..."), 0, outData)InvokeNative
Citizen.InvokeNative(0x3A0B667ABFF87F6E, GetHashKey("..."), 0, outData)lua 1
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;
};Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
