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