{"hash":"0x42688E94E96FD9B4","ns":"PED","name":"_GET_PED_MOTIVATION","slug":"_GET_PED_MOTIVATION","official":false,"named":true,"luaName":"GetPedMotivation","game":"rdr3","apiset":"client","returnType":"float","params":[{"name":"ped","type":"Ped"},{"name":"motivationState","type":"int"},{"name":"targetPed","type":"Ped"}],"summary":"If targetPed is set to 0 the ped motivationState affects everyone","descriptions":[{"source":"alloc8or","format":"text","body":"If targetPed is set to 0 the ped motivationState affects everyone"}],"examples":[],"aliases":[],"enums":["PedMotivationState"],"related":["0x06D26A96CA1BCA75"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_GET_PED_MOTIVATION","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_GET_PED_MOTIVATION.md","snippets":{"lua":"local retval = GetPedMotivation(ped, motivationState, targetPed)","luaInvoke":"local retval = Citizen.InvokeNative(0x42688E94E96FD9B4, ped, motivationState, targetPed, Citizen.ResultAsFloat())","js":"const retval = GetPedMotivation(ped, motivationState, targetPed);","jsInvoke":"const retval = Citizen.invokeNative('0x42688E94E96FD9B4', ped, motivationState, targetPed, Citizen.returnResultAnyway(), Citizen.resultAsFloat());","csharp":"float retval = Function.Call<float>((Hash)0x42688E94E96FD9B4, ped, motivationState, targetPed);","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."]}}