{"hash":"0xEEED8FAFEC331A70","ns":"PED","name":"SET_PED_SHOULD_PLAY_FLEE_SCENARIO_EXIT","slug":"SET_PED_SHOULD_PLAY_FLEE_SCENARIO_EXIT","official":true,"named":true,"luaName":"SetPedShouldPlayFleeScenarioExit","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"ped","type":"Ped"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"lookIntensity","type":"int"}],"summary":"0 - REACT_LOOK_NONE 1 - REACT_LOOK_LOW 2 - REACT_LOOK_MEDIUM 3 - REACT_LOOK_HIGH","descriptions":[{"source":"alloc8or","format":"text","body":"lookIntensity:\n0 - REACT_LOOK_NONE\n1 - REACT_LOOK_LOW\n2 - REACT_LOOK_MEDIUM\n3 - REACT_LOOK_HIGH"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0xEEED8FAFEC331A70","gtaJhash":"0x7B4C3E6F","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/SET_PED_SHOULD_PLAY_FLEE_SCENARIO_EXIT","markdownUrl":"https://natives.borderlinerp.com/natives/PED/SET_PED_SHOULD_PLAY_FLEE_SCENARIO_EXIT.md","snippets":{"lua":"local retval = SetPedShouldPlayFleeScenarioExit(ped, x, y, z, lookIntensity)","luaInvoke":"local retval = Citizen.InvokeNative(0xEEED8FAFEC331A70, ped, x, y, z, lookIntensity, Citizen.ReturnResultAnyway())","js":"const retval = SetPedShouldPlayFleeScenarioExit(ped, x, y, z, lookIntensity);","jsInvoke":"const retval = Citizen.invokeNative('0xEEED8FAFEC331A70', ped, x + 0.0000001, y + 0.0000001, z + 0.0000001, lookIntensity, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0xEEED8FAFEC331A70, ped, x, y, z, lookIntensity);","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."]}}