{"hash":"0x964000D355219FC0","ns":"ENTITY","name":"_GET_PED_ANIMAL_TYPE","slug":"_GET_PED_ANIMAL_TYPE","official":false,"named":true,"luaName":"GetPedAnimalType","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"ped","type":"Ped"}],"summary":"Returns the ped's animal type hash: Combine this with GET_STRING_FROM_HASH_KEY to display localized entity names","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the ped's animal type hash: https://alloc8or.re/rdr3/doc/enums/eAnimalType.txt\nCombine this with GET_STRING_FROM_HASH_KEY to display localized entity names"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ENTITY/_GET_PED_ANIMAL_TYPE","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_GET_PED_ANIMAL_TYPE.md","snippets":{"lua":"local retval = GetPedAnimalType(ped)","luaInvoke":"local retval = Citizen.InvokeNative(0x964000D355219FC0, ped, Citizen.ResultAsInteger())","js":"const retval = GetPedAnimalType(ped);","jsInvoke":"const retval = Citizen.invokeNative('0x964000D355219FC0', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x964000D355219FC0, 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."]}}