The Lab
TASK native

TASK_WANDER_IN_VOLUME

returns void5 paramsbuild 1207

Tasks ped to wander inside volume.

Signature

C
void TASK_WANDER_IN_VOLUME(Ped ped, Volume volume, float p2, float p3, int p4); // 0x9FDA168777B28424 b1207

Parameters

#NameType
1pedPed
2volumeVolume
3p2float
4p3float
5p4int

Facts

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

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