{"hash":"0x729D52F61A5A9E22","ns":"COMPENDIUM","name":"_COMPENDIUM_GET_NUM_OF_ENTRIES_IN_CATEGORY","slug":"_COMPENDIUM_GET_NUM_OF_ENTRIES_IN_CATEGORY","official":false,"named":true,"luaName":"CompendiumGetNumOfEntriesInCategory","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"category","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/COMPENDIUM/_COMPENDIUM_GET_NUM_OF_ENTRIES_IN_CATEGORY","markdownUrl":"https://natives.borderlinerp.com/natives/COMPENDIUM/_COMPENDIUM_GET_NUM_OF_ENTRIES_IN_CATEGORY.md","snippets":{"lua":"local retval = CompendiumGetNumOfEntriesInCategory(category)","luaInvoke":"local retval = Citizen.InvokeNative(0x729D52F61A5A9E22, category, Citizen.ResultAsInteger())","js":"const retval = CompendiumGetNumOfEntriesInCategory(category);","jsInvoke":"const retval = Citizen.invokeNative('0x729D52F61A5A9E22', category, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x729D52F61A5A9E22, category);","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."]}}