{"hash":"0x517D01BF27B682D1","ns":"TASK","name":"_SET_ABOARD_PED_BOAT_POSE","slug":"_SET_ABOARD_PED_BOAT_POSE","official":false,"named":true,"luaName":"SetAboardPedBoatPose","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"boat","type":"Vehicle"},{"name":"offsetX","type":"float"},{"name":"offsetY","type":"float"},{"name":"offsetZ","type":"float"},{"name":"heading","type":"float"},{"name":"flags","type":"int"}],"summary":"Set a ped's boat-local offset and/or facing (degrees).","descriptions":[{"source":"alloc8or","format":"text","body":"Set a ped's boat-local offset and/or facing (degrees). Boats only. Flags: 0=apply both; 1=heading only (lock offset); 2=offset only (lock heading); 3=apply neither."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/_SET_ABOARD_PED_BOAT_POSE","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/_SET_ABOARD_PED_BOAT_POSE.md","snippets":{"lua":"SetAboardPedBoatPose(ped, boat, offsetX, offsetY, offsetZ, heading, flags)","luaInvoke":"Citizen.InvokeNative(0x517D01BF27B682D1, ped, boat, offsetX, offsetY, offsetZ, heading, flags)","js":"SetAboardPedBoatPose(ped, boat, offsetX, offsetY, offsetZ, heading, flags);","jsInvoke":"Citizen.invokeNative('0x517D01BF27B682D1', ped, boat, offsetX + 0.0000001, offsetY + 0.0000001, offsetZ + 0.0000001, heading + 0.0000001, flags);","csharp":"Function.Call((Hash)0x517D01BF27B682D1, ped, boat, offsetX, offsetY, offsetZ, heading, flags);","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.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}