_SET_ANIMAL_RARITY
Sets the rarity level of the animal ped to rarityLevel.
Signature
void _SET_ANIMAL_RARITY(Ped ped, int rarityLevel); // 0x8B6F0F59B1B99801 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | rarityLevel | int |
Facts
| Name | _SET_ANIMAL_RARITY |
|---|---|
| Hash | 0x8B6F0F59B1B99801 |
| 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(0x8B6F0F59B1B99801, -- _SET_ANIMAL_RARITY
PlayerPedId(), -- Ped ped
0 -- int rarityLevel
)Citizen.invokeNative("0x8B6F0F59B1B99801", // _SET_ANIMAL_RARITY
PlayerPedId(), // Ped ped
0 // int rarityLevel
);Function.Call((Hash)0x8B6F0F59B1B99801, // _SET_ANIMAL_RARITY
API.PlayerPedId(), // Ped ped
0 // int rarityLevel
);Related FLOCK natives
- _SET_ANIMAL_IS_WILD
- _GET_ANIMAL_RARITY
- SET_ANIMAL_TUNING_BOOL_PARAM
- SET_ANIMAL_TUNING_FLOAT_PARAM
- _GET_ANIMAL_IS_WILD
- GET_ANIMAL_TUNING_BOOL_PARAM
- GET_ANIMAL_TUNING_FLOAT_PARAM
- RESET_ANIMAL_TUNING_BOOL_PARAM
- RESET_ANIMAL_TUNING_FLOAT_PARAM
- SET_SPECIES_TUNING_BOOL_PARAM
- SET_SPECIES_TUNING_FLOAT_PARAM
- _ADD_PED_TO_FLOCK
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.