The Lab
FLOCK native

SET_ANIMAL_TUNING_FLOAT_PARAM

returns void3 paramsbuild 1207

Overrides the float animal tuning parameter at index for the given animal ped.

Signature

C
void SET_ANIMAL_TUNING_FLOAT_PARAM(Ped animal, int index, float value); // 0xCBDA22C87977244F b1207

Parameters

#NameType
1animalPed
2indexint
3valuefloat

Facts

Facts about SET_ANIMAL_TUNING_FLOAT_PARAM
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.

Lua
Citizen.InvokeNative(0xCBDA22C87977244F, -- SET_ANIMAL_TUNING_FLOAT_PARAM
  PlayerPedId(), -- Ped animal
  0, -- int index
  0.0 -- float value
)
JavaScript
// 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
);
C#
Function.Call((Hash)0xCBDA22C87977244F, // SET_ANIMAL_TUNING_FLOAT_PARAM
  API.PlayerPedId(), // Ped animal
  0, // int index
  0.0f // float value
);
All FLOCK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.