SET_SPECIES_TUNING_FLOAT_PARAM
Based on its name and signature, here is our best reading:
Sets a float tuning value for an animal species. The meaning of the integer parameters is not documented.
Signature
void SET_SPECIES_TUNING_FLOAT_PARAM(Hash p0, int p1, int p2, float p3); // 0x963240B6C252BA49 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Hash |
| 2 | p1 | int |
| 3 | p2 | int |
| 4 | p3 | float |
Facts
| Name | SET_SPECIES_TUNING_FLOAT_PARAM |
|---|---|
| Hash | 0x963240B6C252BA49 |
| 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(0x963240B6C252BA49, -- SET_SPECIES_TUNING_FLOAT_PARAM
GetHashKey("name"), -- Hash p0
0, -- int p1
0, -- int p2
0.0 -- float p3
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x963240B6C252BA49", // SET_SPECIES_TUNING_FLOAT_PARAM
GetHashKey("name"), // Hash p0
0, // int p1
0, // int p2
0.0 // float p3
);Function.Call((Hash)0x963240B6C252BA49, // SET_SPECIES_TUNING_FLOAT_PARAM
(uint)API.GetHashKey("name"), // Hash p0
0, // int p1
0, // int p2
0.0f // float p3
);Related FLOCK natives
- SET_SPECIES_TUNING_BOOL_PARAM
- SET_ANIMAL_TUNING_FLOAT_PARAM
- GET_SPECIES_TUNING_FLOAT_PARAM
- SET_ANIMAL_TUNING_BOOL_PARAM
- GET_ANIMAL_TUNING_FLOAT_PARAM
- RESET_ANIMAL_TUNING_FLOAT_PARAM
- GET_ANIMAL_TUNING_BOOL_PARAM
- RESET_ANIMAL_TUNING_BOOL_PARAM
- _SET_ANIMAL_IS_WILD
- _SET_ANIMAL_RARITY
- _0x0816C31480764AB0
- _0x09EE00B8F858E0BE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.