IS_ANIMAL_INTERACTION_POSSIBLE
Hash
0xD543D3A8FDE4F185Runtime name
IsAnimalInteractionPossibleNamespacePED
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL IS_ANIMAL_INTERACTION_POSSIBLE(Ped ped, Ped animal);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
animal | Ped | — |
Returns BOOL
Usage
local retval = IsAnimalInteractionPossible(ped, animal)
-- always works, by hash
local retval = Citizen.InvokeNative(0xD543D3A8FDE4F185, ped, animal, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = IsAnimalInteractionPossible(ped, animal);
// by hash
const retval = Citizen.invokeNative('0xD543D3A8FDE4F185', ped, animal, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0xD543D3A8FDE4F185, ped, animal);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.