_GET_PED_ANIMAL_TYPE
Returns the animal type hash of the ped.
Signature
Hash _GET_PED_ANIMAL_TYPE(Ped ped); // 0x964000D355219FC0 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _GET_PED_ANIMAL_TYPE |
|---|---|
| Hash | 0x964000D355219FC0 |
| Namespace | |
| Returns | Hash |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local hash = Citizen.InvokeNative(0x964000D355219FC0, -- _GET_PED_ANIMAL_TYPE
PlayerPedId(), -- Ped ped
Citizen.ResultAsInteger()
)
print(hash)const hash = Citizen.invokeNative("0x964000D355219FC0", // _GET_PED_ANIMAL_TYPE
PlayerPedId(), // Ped ped
Citizen.resultAsInteger()
);
console.log(hash)int hash = Function.Call<int>((Hash)0x964000D355219FC0, // _GET_PED_ANIMAL_TYPE
API.PlayerPedId() // Ped ped
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.