{"hash":"0xC4C32C31920E1B70","ns":"TASK","name":"TASK_REACT","slug":"TASK_REACT","official":true,"named":true,"luaName":"TaskReact","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"reactingTo","type":"Entity"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"reactionName","type":"const char*"},{"name":"p6","type":"float"},{"name":"p7","type":"float"},{"name":"p8","type":"int"}],"summary":"Makes a ped react to an entity.","descriptions":[{"source":"alloc8or","format":"text","body":"Makes a ped react to an entity.\nParams: reactingTo Entity can be 0, p8 is always 4"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_REACT","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_REACT.md","snippets":{"lua":"TaskReact(ped, reactingTo, x, y, z, reactionName, p6, p7, p8)","luaInvoke":"Citizen.InvokeNative(0xC4C32C31920E1B70, ped, reactingTo, x, y, z, reactionName, p6, p7, p8)","js":"TaskReact(ped, reactingTo, x, y, z, reactionName, p6, p7, p8);","jsInvoke":"Citizen.invokeNative('0xC4C32C31920E1B70', ped, reactingTo, x + 0.0000001, y + 0.0000001, z + 0.0000001, reactionName, p6 + 0.0000001, p7 + 0.0000001, p8);","csharp":"Function.Call((Hash)0xC4C32C31920E1B70, ped, reactingTo, x, y, z, reactionName, p6, p7, p8);","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."]}}