The Lab
TASK native

TASK_GO_TO_COORD_ANY_MEANS

returns void9 paramsbuild 1207

Tasks ped to reach (x, y, z) by any means, including using vehicles or mounts.

Signature

C
void TASK_GO_TO_COORD_ANY_MEANS(Ped ped, float x, float y, float z, float speed, Entity entity, BOOL p6, int walkingStyle, float p8); // 0x5BC448CB78FA3E88 b1207

Parameters

#NameType
1pedPed
2xfloat
3yfloat
4zfloat
5speedfloat
6entityEntity
7p6BOOL
8walkingStyleint
9p8float

Facts

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

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