SET_ANIMAL_TUNING_FLOAT_PARAM
Overrides the float animal tuning parameter at index for the given animal ped.
Signature
void SET_ANIMAL_TUNING_FLOAT_PARAM(Ped animal, int index, float value); // 0xCBDA22C87977244F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | animal | Ped |
| 2 | index | int |
| 3 | value | float |
Facts
| Name | SET_ANIMAL_TUNING_FLOAT_PARAM |
|---|---|
| Hash | 0xCBDA22C87977244F |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xCBDA22C87977244F, -- SET_ANIMAL_TUNING_FLOAT_PARAM
PlayerPedId(), -- Ped animal
0, -- int index
0.0 -- float value
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xCBDA22C87977244F", // SET_ANIMAL_TUNING_FLOAT_PARAM
PlayerPedId(), // Ped animal
0, // int index
0.0 // float value
);Function.Call((Hash)0xCBDA22C87977244F, // SET_ANIMAL_TUNING_FLOAT_PARAM
API.PlayerPedId(), // Ped animal
0, // int index
0.0f // float value
);Related FLOCK natives
- SET_ANIMAL_TUNING_BOOL_PARAM
- SET_SPECIES_TUNING_FLOAT_PARAM
- GET_ANIMAL_TUNING_FLOAT_PARAM
- RESET_ANIMAL_TUNING_FLOAT_PARAM
- SET_SPECIES_TUNING_BOOL_PARAM
- GET_ANIMAL_TUNING_BOOL_PARAM
- GET_SPECIES_TUNING_FLOAT_PARAM
- RESET_ANIMAL_TUNING_BOOL_PARAM
- _SET_ANIMAL_IS_WILD
- _SET_ANIMAL_RARITY
- _GET_ANIMAL_IS_WILD
- _GET_ANIMAL_RARITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.