{"hash":"0x704674A0535A471D","ns":"ATTRIBUTE","name":"GET_MAX_ATTRIBUTE_RANK","slug":"GET_MAX_ATTRIBUTE_RANK","official":true,"named":true,"luaName":"GetMaxAttributeRank","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"ped","type":"Ped"},{"name":"attributeIndex","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"attributeIndex: see SET_ATTRIBUTE_BASE_RANK"}],"examples":[],"aliases":[],"enums":["PedAttribute__AttributeType"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ATTRIBUTE/GET_MAX_ATTRIBUTE_RANK","markdownUrl":"https://natives.borderlinerp.com/natives/ATTRIBUTE/GET_MAX_ATTRIBUTE_RANK.md","snippets":{"lua":"local retval = GetMaxAttributeRank(ped, attributeIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0x704674A0535A471D, ped, attributeIndex, Citizen.ResultAsInteger())","js":"const retval = GetMaxAttributeRank(ped, attributeIndex);","jsInvoke":"const retval = Citizen.invokeNative('0x704674A0535A471D', ped, attributeIndex, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x704674A0535A471D, ped, attributeIndex);","notes":[]}}