COLLECTABLE_GET_CATEGORY_ITEM_SET_BUY_AWARD
Hash
0xCC644BC1DD655269Runtime name
CollectableGetCategoryItemSetBuyAwardNamespaceCOLLECTABLE
SideClient
NameOfficial
Docs
Since build1207
Signature
Hash COLLECTABLE_GET_CATEGORY_ITEM_SET_BUY_AWARD(Hash collectableCategory, Hash p1);Parameters
| Name | Type | Description |
|---|---|---|
collectableCategory | Hash | — |
p1 | Hash | — |
Returns Hash
Description
collectableCategory: ANTIQUE_BOTTLES, BIRD_EGGS, ARROWHEADS, FAMILY_HEIRLOOMS, WILD_FLOWERS, COINS, LOST_JEWELRY_RINGS, LOST_JEWELRY_BRACELETS, LOST_JEWELRY_EARRINGS, LOST_JEWELRY_NECKLACES, TAROT_CARDS_CUPS, TAROT_CARDS_PENTACLES, TAROT_CARDS_SWORDS, TAROT_CARDS_WANDS, FOSSILS_COMMON, FOSSILS_UNCOMMON, FOSSILS_RARE
Usage
local retval = CollectableGetCategoryItemSetBuyAward(collectableCategory, p1)
-- always works, by hash
local retval = Citizen.InvokeNative(0xCC644BC1DD655269, collectableCategory, p1, Citizen.ResultAsInteger())JavaScript and C#
const retval = CollectableGetCategoryItemSetBuyAward(collectableCategory, p1);
// by hash
const retval = Citizen.invokeNative('0xCC644BC1DD655269', collectableCategory, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0xCC644BC1DD655269, collectableCategory, p1);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.