{"hash":"0xF8B48A361DC388AE","ns":"FLOCK","name":"_GET_ANIMAL_RARITY","slug":"_GET_ANIMAL_RARITY","official":false,"named":true,"luaName":"GetAnimalRarity","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"ped","type":"Ped"}],"summary":"ARL_COMMON, ARL_RARE, ARL_LEGENDARY, ARL_NUMRARITYLEVELS","descriptions":[{"source":"alloc8or","format":"text","body":"enum eAnimalRarityLevel\n{\n\tARL_COMMON,\n\tARL_RARE,\n\tARL_LEGENDARY,\n\tARL_NUMRARITYLEVELS\n};"}],"examples":[],"aliases":[],"enums":[],"related":["0x8B6F0F59B1B99801"],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/FLOCK/_GET_ANIMAL_RARITY","markdownUrl":"https://natives.borderlinerp.com/natives/FLOCK/_GET_ANIMAL_RARITY.md","snippets":{"lua":"local retval = GetAnimalRarity(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0xF8B48A361DC388AE, ped, Citizen.ResultAsInteger())","js":"const retval = GetAnimalRarity(ped);","jsInvoke":"const retval = Citizen.invokeNative('0xF8B48A361DC388AE', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xF8B48A361DC388AE, ped);","notes":["The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}