RedM Natives

_GET_PED_ANIMAL_TYPE

Returns the ped's animal type hash: Combine this with GET_STRING_FROM_HASH_KEY to display localized entity names

Hash0x964000D355219FC0
Runtime nameGetPedAnimalType
NamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207

Signature

Hash _GET_PED_ANIMAL_TYPE(Ped ped);

Parameters

NameTypeDescription
pedPed—

Returns Hash

Description

Returns the ped's animal type hash: https://alloc8or.re/rdr3/doc/enums/eAnimalType.txt
Combine this with GET_STRING_FROM_HASH_KEY to display localized entity names

Usage

Lua
local retval = GetPedAnimalType(ped)

-- always works, by hash
local retval = Citizen.InvokeNative(0x964000D355219FC0, ped, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetPedAnimalType(ped);

// by hash
const retval = Citizen.invokeNative('0x964000D355219FC0', ped, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x964000D355219FC0, ped);
  • 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.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.