RedM Natives

IS_ANIMAL_INTERACTION_POSSIBLE

Hash0xD543D3A8FDE4F185
Runtime nameIsAnimalInteractionPossible
NamespacePED
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_ANIMAL_INTERACTION_POSSIBLE(Ped ped, Ped animal);

Parameters

NameTypeDescription
pedPed—
animalPed—

Returns BOOL

Usage

Lua
local retval = IsAnimalInteractionPossible(ped, animal)

-- always works, by hash
local retval = Citizen.InvokeNative(0xD543D3A8FDE4F185, ped, animal, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsAnimalInteractionPossible(ped, animal);

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

Sources

alloc8or RDR3 NativeDB

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