# TASK::TASK_WANDER_STANDARD

- **Hash:** `0xBB9CE077274F6A1B`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `TaskWanderStandard`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/TASK_WANDER_STANDARD

## Signature

```c
void TASK_WANDER_STANDARD(Ped ped, float p1, int p2);
```

## Parameters

- `ped` (`Ped`)
- `p1` (`float`)
- `p2` (`int`)

## Returns

`void`

## Description

*Source: alloc8or RDR3 NativeDB*

Makes ped walk around the area.

set p1 to 10.0f and p2 to 10 if you want the ped to walk anywhere without a duration.

*Source: VORPCORE RDR3natives*

Makes ped walk around the area the params p1 p2 seems to not affect anything but p2 is either 0 or 1 and p1 is mostly 1.0 or ped heading

## Usage

### Lua

```lua
TaskWanderStandard(ped, p1, p2)

-- always available, by hash
Citizen.InvokeNative(0xBB9CE077274F6A1B, ped, p1, p2)
```

### JavaScript

```js
TaskWanderStandard(ped, p1, p2);

// by hash
Citizen.invokeNative('0xBB9CE077274F6A1B', ped, p1 + 0.0000001, p2);
```

### C#

```csharp
Function.Call((Hash)0xBB9CE077274F6A1B, ped, p1, p2);
```

- Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason.

*Sources: alloc8or RDR3 NativeDB, VORPCORE RDR3natives.*
