Native referenceRedM

_ITEMDATABASE_GET_ITEM_TAG_TAGS

0x8870895BA5ED9385 ITEMDATABASE
FUNCTION SIGNATURE
int _ITEMDATABASE_GET_ITEM_TAG_TAGS(Hash key, Hash tagType, Any* outData);
Property Value
Native Name _ITEMDATABASE_GET_ITEM_TAG_TAGS
Hash 0x8870895BA5ED9385
Return Type int
Build 1232
Parameters key (Hash), tagType (Hash), outData (Any*)

Description: Returns the ci tags of the selected item tag key: Hash — Wanted key (e.g WEAPON_RIFLE_VARMINT).tag: Hash — The item tag (e.g TAG_ITEM_PROPERTY).data: Any* - CI tag list starting at the offset "1", the offset 0 is to define the max number of tags you want to collect (uselly 5 in R* scripts, surelly the limit)

Usage

Lua (Direct):

local result = ItemdatabaseGetItemTagTags(key, tagType, outData)

Lua (Hash):

local result = Citizen.InvokeNative(0x8870895BA5ED9385, key, tagType, outData)
Back to ITEMDATABASE