The Lab
TASK native

TASK_FLY_TO_COORD

returns void7 paramsbuild 1207

Tasks the bird ped to fly to (x, y, z) at the move blend ratio travelMbr.

Signature

C
void TASK_FLY_TO_COORD(Ped ped, float travelMbr, float x, float y, float z, BOOL p5, BOOL p6); // 0xD6CFC2D59DA72042 b1207

Parameters

#NameType
1pedPed
2travelMbrfloat
3xfloat
4yfloat
5zfloat
6p5BOOL
7p6BOOL

Facts

Facts about TASK_FLY_TO_COORD
Name
TASK_FLY_TO_COORD
Hash
0xD6CFC2D59DA72042
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(0xD6CFC2D59DA72042, -- TASK_FLY_TO_COORD
  PlayerPedId(), -- Ped ped
  0.0, -- float travelMbr
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  false, -- BOOL p5
  false -- BOOL p6
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xD6CFC2D59DA72042", // TASK_FLY_TO_COORD
  PlayerPedId(), // Ped ped
  0.0, // float travelMbr
  0.0, // float x
  0.0, // float y
  0.0, // float z
  false, // BOOL p5
  false // BOOL p6
);
C#
Function.Call((Hash)0xD6CFC2D59DA72042, // TASK_FLY_TO_COORD
  API.PlayerPedId(), // Ped ped
  0.0f, // float travelMbr
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  false, // BOOL p5
  false // BOOL p6
);
All TASK natives

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