RedM Natives

GET_IS_ANIMAL

Hash0x9A100F1CF4546629
Runtime nameGetIsAnimal
NamespaceENTITY
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL GET_IS_ANIMAL(Entity entity);

Parameters

NameTypeDescription
entityEntity—

Returns BOOL

Usage

Lua
local retval = GetIsAnimal(entity)

-- always works, by hash
local retval = Citizen.InvokeNative(0x9A100F1CF4546629, entity, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = GetIsAnimal(entity);

// by hash
const retval = Citizen.invokeNative('0x9A100F1CF4546629', entity, Citizen.returnResultAnyway());
C#
bool retval = Function.Call<bool>((Hash)0x9A100F1CF4546629, entity);

Sources

alloc8or RDR3 NativeDB

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