RedM Index logoRedM Index
NativesHashesClothesBlipsPropsItem Tool
Sign inGet started

Reference

  • Natives
  • Hashes
  • Clothes
  • Blips
  • Props

Namespace

  1. Reference
  2. Natives
  3. _ITEMDATABASE_GET_BUNDLE_ACQUIRE_COST

_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 BOOL

Parameters

NameTypeDescription
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

On this page

  • Signature
  • Parameters
  • Usage
  • Details