{"hash":"0xA4C8E23E29040DE0","ns":"ATTRIBUTE","name":"GET_ATTRIBUTE_RANK","slug":"GET_ATTRIBUTE_RANK","official":true,"named":true,"luaName":"GetAttributeRank","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_ATTRIBUTE_RANK","markdownUrl":"https://natives.borderlinerp.com/natives/ATTRIBUTE/GET_ATTRIBUTE_RANK.md","snippets":{"lua":"local retval = GetAttributeRank(ped, attributeIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0xA4C8E23E29040DE0, ped, attributeIndex, Citizen.ResultAsInteger())","js":"const retval = GetAttributeRank(ped, attributeIndex);","jsInvoke":"const retval = Citizen.invokeNative('0xA4C8E23E29040DE0', ped, attributeIndex, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xA4C8E23E29040DE0, ped, attributeIndex);","notes":[]}}