The Lab
TASK native

TASK_MOVE_NETWORK_BY_NAME

returns void6 paramsbuild 1207

Starts the move network task on ped, using animDict for its clips.

Signature

C
void TASK_MOVE_NETWORK_BY_NAME(Ped ped, const char* task, float multiplier, BOOL p3, const char* animDict, int flags); // 0x2D537BA194896636 b1207

Parameters

#NameType
1pedPed
2taskconst char*
3multiplierfloat
4p3BOOL
5animDictconst char*
6flagsint

Facts

Facts about TASK_MOVE_NETWORK_BY_NAME
Name
TASK_MOVE_NETWORK_BY_NAME
Hash
0x2D537BA194896636
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(0x2D537BA194896636, -- TASK_MOVE_NETWORK_BY_NAME
  PlayerPedId(), -- Ped ped
  "text", -- const char* task
  0.0, -- float multiplier
  false, -- BOOL p3
  "text", -- const char* animDict
  0 -- int flags
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x2D537BA194896636", // TASK_MOVE_NETWORK_BY_NAME
  PlayerPedId(), // Ped ped
  "text", // const char* task
  0.0, // float multiplier
  false, // BOOL p3
  "text", // const char* animDict
  0 // int flags
);
C#
Function.Call((Hash)0x2D537BA194896636, // TASK_MOVE_NETWORK_BY_NAME
  API.PlayerPedId(), // Ped ped
  "text", // const char* task
  0.0f, // float multiplier
  false, // BOOL p3
  "text", // const char* animDict
  0 // int flags
);
All TASK natives

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