# PED::_0xA90684ED185CCB4B

- **Hash:** `0xA90684ED185CCB4B`
- **Namespace:** PED
- **Runtime name (Lua/JS):** `N_0xa90684ed185ccb4b`
- **Side:** client (game native)
- **Name status:** unknown (hash only)
- **Documentation:** named only
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/PED/0xA90684ED185CCB4B

## Signature

```c
void _0xA90684ED185CCB4B(Ped animal, BOOL p1, float p2, float p3);
```

## Parameters

- `animal` (`Ped`)
- `p1` (`BOOL`)
- `p2` (`float`)
- `p3` (`float`)

## Returns

`void`

## Description

Only used in R* Script mob4 and rcm_mason4
_SET_PED_DEFENSIVE_* - _SET_PED_DESIRED_*

## Usage

### Lua

```lua
N_0xa90684ed185ccb4b(animal, p1, p2, p3)

-- always available, by hash
Citizen.InvokeNative(0xA90684ED185CCB4B, animal, p1, p2, p3)
```

### JavaScript

```js
N_0xa90684ed185ccb4b(animal, p1, p2, p3);

// by hash
Citizen.invokeNative('0xA90684ED185CCB4B', animal, p1, p2 + 0.0000001, p3 + 0.0000001);
```

### C#

```csharp
Function.Call((Hash)0xA90684ED185CCB4B, animal, p1, p2, p3);
```

- 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.
- This native has no known name, so the runtime exposes it only as `N_0xa90684ed185ccb4b` (if present in the client snapshot). `InvokeNative` with the hash always works.

*Sources: alloc8or RDR3 NativeDB.*
