_SET_ANIMAL_RARITY
Hash
0x8B6F0F59B1B99801Runtime name
SetAnimalRarityNamespaceFLOCK
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_ANIMAL_RARITY(Ped ped, int rarityLevel);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
rarityLevel | int | — |
Returns void
Description
rarityLevel: see _GET_ANIMAL_RARITY
Usage
SetAnimalRarity(ped, rarityLevel)
-- always works, by hash
Citizen.InvokeNative(0x8B6F0F59B1B99801, ped, rarityLevel)JavaScript and C#
SetAnimalRarity(ped, rarityLevel);
// by hash
Citizen.invokeNative('0x8B6F0F59B1B99801', ped, rarityLevel);Function.Call((Hash)0x8B6F0F59B1B99801, ped, rarityLevel);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
_GET_ANIMAL_RARITYARL_COMMON, ARL_RARE, ARL_LEGENDARY, ARL_NUMRARITYLEVELS
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.