# FLOCK::SET_ANIMAL_TUNING_FLOAT_PARAM

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

## Signature

```c
void SET_ANIMAL_TUNING_FLOAT_PARAM(Ped animal, int index, float value);
```

## Parameters

- `animal` (`Ped`)
- `index` (`int`)
- `value` (`float`)

## Returns

`void`

## Usage

### Lua

```lua
SetAnimalTuningFloatParam(animal, index, value)

-- always available, by hash
Citizen.InvokeNative(0xCBDA22C87977244F, animal, index, value)
```

### JavaScript

```js
SetAnimalTuningFloatParam(animal, index, value);

// by hash
Citizen.invokeNative('0xCBDA22C87977244F', animal, index, value + 0.0000001);
```

### C#

```csharp
Function.Call((Hash)0xCBDA22C87977244F, animal, index, value);
```

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

## Related enums

- [eAnimalTuningFloats](https://natives.borderlinerp.com/enums/eAnimalTuningFloats.md) — 168 values

## See also

- [FLOCK::GET_ANIMAL_TUNING_FLOAT_PARAM](https://natives.borderlinerp.com/natives/FLOCK/GET_ANIMAL_TUNING_FLOAT_PARAM.md)
- [FLOCK::RESET_ANIMAL_TUNING_FLOAT_PARAM](https://natives.borderlinerp.com/natives/FLOCK/RESET_ANIMAL_TUNING_FLOAT_PARAM.md)

*Sources: alloc8or RDR3 NativeDB.*
