The Lab
TASK native

_SET_ABOARD_PED_BOAT_POSE

returns void7 paramsbuild 1207

Based on its name and signature, here is our best reading:

Places ped aboard boat at the given offset and heading with the pose selected by flags.

Signature

C
void _SET_ABOARD_PED_BOAT_POSE(Ped ped, Vehicle boat, float offsetX, float offsetY, float offsetZ, float heading, int flags); // 0x517D01BF27B682D1 b1207

Parameters

#NameType
1pedPed
2boatVehicle
3offsetXfloat
4offsetYfloat
5offsetZfloat
6headingfloat
7flagsint

Facts

Facts about _SET_ABOARD_PED_BOAT_POSE
Name
_SET_ABOARD_PED_BOAT_POSE
Hash
0x517D01BF27B682D1
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x517D01BF27B682D1, -- _SET_ABOARD_PED_BOAT_POSE
  PlayerPedId(), -- Ped ped
  0, -- Vehicle boat
  0.0, -- float offsetX
  0.0, -- float offsetY
  0.0, -- float offsetZ
  0.0, -- float heading
  0 -- int flags
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x517D01BF27B682D1", // _SET_ABOARD_PED_BOAT_POSE
  PlayerPedId(), // Ped ped
  0, // Vehicle boat
  0.0, // float offsetX
  0.0, // float offsetY
  0.0, // float offsetZ
  0.0, // float heading
  0 // int flags
);
C#
Function.Call((Hash)0x517D01BF27B682D1, // _SET_ABOARD_PED_BOAT_POSE
  API.PlayerPedId(), // Ped ped
  0, // Vehicle boat
  0.0f, // float offsetX
  0.0f, // float offsetY
  0.0f, // float offsetZ
  0.0f, // float heading
  0 // int flags
);
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.