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