The Lab
FLOCK native

_SET_ANIMAL_RARITY

returns void2 paramsbuild 1207

Sets the rarity level of the animal ped to rarityLevel.

Signature

C
void _SET_ANIMAL_RARITY(Ped ped, int rarityLevel); // 0x8B6F0F59B1B99801 b1207

Parameters

#NameType
1pedPed
2rarityLevelint

Facts

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

Lua
Citizen.InvokeNative(0x8B6F0F59B1B99801, -- _SET_ANIMAL_RARITY
  PlayerPedId(), -- Ped ped
  0 -- int rarityLevel
)
JavaScript
Citizen.invokeNative("0x8B6F0F59B1B99801", // _SET_ANIMAL_RARITY
  PlayerPedId(), // Ped ped
  0 // int rarityLevel
);
C#
Function.Call((Hash)0x8B6F0F59B1B99801, // _SET_ANIMAL_RARITY
  API.PlayerPedId(), // Ped ped
  0 // int rarityLevel
);
All FLOCK natives

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