{"hash":"0x5AD23D40115353AC","ns":"TASK","name":"TASK_TURN_PED_TO_FACE_ENTITY","slug":"TASK_TURN_PED_TO_FACE_ENTITY","official":true,"named":true,"luaName":"TaskTurnPedToFaceEntity","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"targetEntity","type":"Entity"},{"name":"duration","type":"int"},{"name":"p3","type":"float"},{"name":"p4","type":"float"},{"name":"p5","type":"float"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"duration: the amount of time in milliseconds to do the task. -1 will keep the task going until either another task is applied, or CLEAR_ALL_TASKS() is called with the ped"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x5AD23D40115353AC","gtaJhash":"0x3C37C767","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_TURN_PED_TO_FACE_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_TURN_PED_TO_FACE_ENTITY.md","snippets":{"lua":"TaskTurnPedToFaceEntity(ped, targetEntity, duration, p3, p4, p5)","luaInvoke":"Citizen.InvokeNative(0x5AD23D40115353AC, ped, targetEntity, duration, p3, p4, p5)","js":"TaskTurnPedToFaceEntity(ped, targetEntity, duration, p3, p4, p5);","jsInvoke":"Citizen.invokeNative('0x5AD23D40115353AC', ped, targetEntity, duration, p3 + 0.0000001, p4 + 0.0000001, p5 + 0.0000001);","csharp":"Function.Call((Hash)0x5AD23D40115353AC, ped, targetEntity, duration, p3, p4, p5);","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."]}}