{"hash":"0x36731AC041289BB1","ns":"ATTRIBUTE","name":"_GET_ATTRIBUTE_CORE_VALUE","slug":"_GET_ATTRIBUTE_CORE_VALUE","official":false,"named":true,"luaName":"GetAttributeCoreValue","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"ped","type":"Ped"},{"name":"coreIndex","type":"int"}],"summary":"Gets the ped's core value on a scale of 0 to 100.","descriptions":[{"source":"alloc8or","format":"text","body":"Gets the ped's core value on a scale of 0 to 100.\ncoreIndex: see _SET_ATTRIBUTE_CORE_VALUE"}],"examples":[],"aliases":[],"enums":[],"related":["0xC6258F41D86676E0"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ATTRIBUTE/_GET_ATTRIBUTE_CORE_VALUE","markdownUrl":"https://natives.borderlinerp.com/natives/ATTRIBUTE/_GET_ATTRIBUTE_CORE_VALUE.md","snippets":{"lua":"local retval = GetAttributeCoreValue(ped, coreIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0x36731AC041289BB1, ped, coreIndex, Citizen.ResultAsInteger())","js":"const retval = GetAttributeCoreValue(ped, coreIndex);","jsInvoke":"const retval = Citizen.invokeNative('0x36731AC041289BB1', ped, coreIndex, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x36731AC041289BB1, ped, coreIndex);","notes":["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."]}}