{"hash":"0x126CBEBBA46693CF","ns":"COLLECTABLE","name":"_COLLECTABLE_GET_COLLECTABLE_ITEM_HASH","slug":"_COLLECTABLE_GET_COLLECTABLE_ITEM_HASH","official":false,"named":true,"luaName":"CollectableGetCollectableItemHash","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"index","type":"int"},{"name":"collectableCategory","type":"Hash"},{"name":"collectableSubcategory","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/COLLECTABLE/_COLLECTABLE_GET_COLLECTABLE_ITEM_HASH","markdownUrl":"https://natives.borderlinerp.com/natives/COLLECTABLE/_COLLECTABLE_GET_COLLECTABLE_ITEM_HASH.md","snippets":{"lua":"local retval = CollectableGetCollectableItemHash(index, collectableCategory, collectableSubcategory)","luaInvoke":"local retval = Citizen.InvokeNative(0x126CBEBBA46693CF, index, collectableCategory, collectableSubcategory, Citizen.ResultAsInteger())","js":"const retval = CollectableGetCollectableItemHash(index, collectableCategory, collectableSubcategory);","jsInvoke":"const retval = Citizen.invokeNative('0x126CBEBBA46693CF', index, collectableCategory, collectableSubcategory, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x126CBEBBA46693CF, index, collectableCategory, collectableSubcategory);","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` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}