# TASK::TASK_STAND_GUARD

- **Hash:** `0xAE032F8BBA959E90`
- **Namespace:** TASK
- **Runtime name (Lua/JS):** `TaskStandGuard`
- **Side:** client (game native)
- **Name status:** official
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/TASK/TASK_STAND_GUARD

## Signature

```c
void TASK_STAND_GUARD(Ped ped, float x, float y, float z, float heading, const char* scenarioName);
```

## Parameters

- `ped` (`Ped`)
- `x` (`float`)
- `y` (`float`)
- `z` (`float`)
- `heading` (`float`)
- `scenarioName` (`const char*`)

## Returns

`void`

## Usage

### Lua

```lua
TaskStandGuard(ped, x, y, z, heading, scenarioName)

-- always available, by hash
Citizen.InvokeNative(0xAE032F8BBA959E90, ped, x, y, z, heading, scenarioName)
```

### JavaScript

```js
TaskStandGuard(ped, x, y, z, heading, scenarioName);

// by hash
Citizen.invokeNative('0xAE032F8BBA959E90', ped, x + 0.0000001, y + 0.0000001, z + 0.0000001, heading + 0.0000001, scenarioName);
```

### C#

```csharp
Function.Call((Hash)0xAE032F8BBA959E90, ped, x, y, z, heading, scenarioName);
```

- 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.*
