{"hash":"0xEC3959E9950BF56B","ns":"COLLECTABLE","name":"_COLLECTABLE_SET_ITEM_HASH_DISCOVERED","slug":"_COLLECTABLE_SET_ITEM_HASH_DISCOVERED","official":false,"named":true,"luaName":"CollectableSetItemHashDiscovered","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"collectableItem","type":"Hash"}],"summary":"Returns discoveredItemHash _COLLECTABLE_C* - _COLLECTABLE_G*","descriptions":[{"source":"alloc8or","format":"text","body":"Returns discoveredItemHash\n_COLLECTABLE_C* - _COLLECTABLE_G*"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/COLLECTABLE/_COLLECTABLE_SET_ITEM_HASH_DISCOVERED","markdownUrl":"https://natives.borderlinerp.com/natives/COLLECTABLE/_COLLECTABLE_SET_ITEM_HASH_DISCOVERED.md","snippets":{"lua":"local retval = CollectableSetItemHashDiscovered(collectableItem)","luaInvoke":"local retval = Citizen.InvokeNative(0xEC3959E9950BF56B, collectableItem, Citizen.ResultAsInteger())","js":"const retval = CollectableSetItemHashDiscovered(collectableItem);","jsInvoke":"const retval = Citizen.invokeNative('0xEC3959E9950BF56B', collectableItem, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xEC3959E9950BF56B, collectableItem);","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."]}}