The Lab
TASK native

TASK_WANDER_STANDARD

returns void3 paramsbuild 1207

Tasks ped to wander around aimlessly.

Signature

C
void TASK_WANDER_STANDARD(Ped ped, float p1, int p2); // 0xBB9CE077274F6A1B b1207

Parameters

#NameType
1pedPed
2p1float
3p2int

Facts

Facts about TASK_WANDER_STANDARD
Name
TASK_WANDER_STANDARD
Hash
0xBB9CE077274F6A1B
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(0xBB9CE077274F6A1B, -- TASK_WANDER_STANDARD
  PlayerPedId(), -- Ped ped
  0.0, -- float p1
  0 -- int p2
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xBB9CE077274F6A1B", // TASK_WANDER_STANDARD
  PlayerPedId(), // Ped ped
  0.0, // float p1
  0 // int p2
);
C#
Function.Call((Hash)0xBB9CE077274F6A1B, // TASK_WANDER_STANDARD
  API.PlayerPedId(), // Ped ped
  0.0f, // float p1
  0 // int p2
);
All TASK natives

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