The Lab
TASK native

TASK_WALK_AWAY

returns void2 paramsbuild 1207

Tasks ped to walk away from entity.

Signature

C
void TASK_WALK_AWAY(Ped ped, Entity entity); // 0x04ACFAC71E6858F9 b1207

Parameters

#NameType
1pedPed
2entityEntity

Facts

Facts about TASK_WALK_AWAY
Name
TASK_WALK_AWAY
Hash
0x04ACFAC71E6858F9
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(0x04ACFAC71E6858F9, -- TASK_WALK_AWAY
  PlayerPedId(), -- Ped ped
  PlayerPedId() -- Entity entity
)
JavaScript
Citizen.invokeNative("0x04ACFAC71E6858F9", // TASK_WALK_AWAY
  PlayerPedId(), // Ped ped
  PlayerPedId() // Entity entity
);
C#
Function.Call((Hash)0x04ACFAC71E6858F9, // TASK_WALK_AWAY
  API.PlayerPedId(), // Ped ped
  API.PlayerPedId() // Entity entity
);
All TASK natives

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