{"hash":"0xCC644BC1DD655269","ns":"COLLECTABLE","name":"COLLECTABLE_GET_CATEGORY_ITEM_SET_BUY_AWARD","slug":"COLLECTABLE_GET_CATEGORY_ITEM_SET_BUY_AWARD","official":true,"named":true,"luaName":"CollectableGetCategoryItemSetBuyAward","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"collectableCategory","type":"Hash"},{"name":"p1","type":"Hash"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"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"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/COLLECTABLE/COLLECTABLE_GET_CATEGORY_ITEM_SET_BUY_AWARD","markdownUrl":"https://natives.borderlinerp.com/natives/COLLECTABLE/COLLECTABLE_GET_CATEGORY_ITEM_SET_BUY_AWARD.md","snippets":{"lua":"local retval = CollectableGetCategoryItemSetBuyAward(collectableCategory, p1)","luaInvoke":"local retval = Citizen.InvokeNative(0xCC644BC1DD655269, collectableCategory, p1, Citizen.ResultAsInteger())","js":"const retval = CollectableGetCategoryItemSetBuyAward(collectableCategory, p1);","jsInvoke":"const retval = Citizen.invokeNative('0xCC644BC1DD655269', collectableCategory, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xCC644BC1DD655269, collectableCategory, p1);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``."]}}