{"hash":"0x7CC2186C32D3540A","ns":"PED","name":"_GET_PED_ATTITUDE","slug":"_GET_PED_ATTITUDE","official":false,"named":true,"luaName":"GetPedAttitude","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"ped","type":"Ped"},{"name":"player","type":"Player"}],"summary":"AI_ATTITUDE_FRIENDLY, AI_ATTITUDE_WARY, AI_ATTITUDE_COMBATIVE, AI_ATTITUDE_NEVER_MET","descriptions":[{"source":"alloc8or","format":"text","body":"AI_ATTITUDE_NEUTRAL = 0,\nAI_ATTITUDE_FRIENDLY,\nAI_ATTITUDE_WARY,\nAI_ATTITUDE_COMBATIVE,\nAI_ATTITUDE_NEVER_MET"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_GET_PED_ATTITUDE","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_GET_PED_ATTITUDE.md","snippets":{"lua":"local retval = GetPedAttitude(ped, player)","luaInvoke":"local retval = Citizen.InvokeNative(0x7CC2186C32D3540A, ped, player, Citizen.ResultAsInteger())","js":"const retval = GetPedAttitude(ped, player);","jsInvoke":"const retval = Citizen.invokeNative('0x7CC2186C32D3540A', ped, player, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x7CC2186C32D3540A, ped, player);","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."]}}