{"hash":"0xD71649DB0A545AA3","ns":"PED","name":"IS_PED_FACING_PED","slug":"IS_PED_FACING_PED","official":true,"named":true,"luaName":"IsPedFacingPed","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"otherPed","type":"Ped"},{"name":"angle","type":"float"}],"summary":"angle is ped's view cone","descriptions":[{"source":"alloc8or","format":"text","body":"angle is ped's view cone"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xD71649DB0A545AA3","gtaJhash":"0x0B775838","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/IS_PED_FACING_PED","markdownUrl":"https://natives.borderlinerp.com/natives/PED/IS_PED_FACING_PED.md","snippets":{"lua":"local retval = IsPedFacingPed(ped, otherPed, angle)","luaInvoke":"local retval = Citizen.InvokeNative(0xD71649DB0A545AA3, ped, otherPed, angle, Citizen.ReturnResultAnyway())","js":"const retval = IsPedFacingPed(ped, otherPed, angle);","jsInvoke":"const retval = Citizen.invokeNative('0xD71649DB0A545AA3', ped, otherPed, angle + 0.0000001, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xD71649DB0A545AA3, ped, otherPed, angle);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}