IS_ANIMAL_INTERACTION_POSSIBLE
Returns true if ped can interact with animal.
Signature
BOOL IS_ANIMAL_INTERACTION_POSSIBLE(Ped ped, Ped animal); // 0xD543D3A8FDE4F185 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | animal | Ped |
Facts
| Name | IS_ANIMAL_INTERACTION_POSSIBLE |
|---|---|
| Hash | 0xD543D3A8FDE4F185 |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xD543D3A8FDE4F185, -- IS_ANIMAL_INTERACTION_POSSIBLE
PlayerPedId(), -- Ped ped
PlayerPedId() -- Ped animal
)
if result then
-- ...
endconst result = Citizen.invokeNative("0xD543D3A8FDE4F185", // IS_ANIMAL_INTERACTION_POSSIBLE
PlayerPedId(), // Ped ped
PlayerPedId(), // Ped animal
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0xD543D3A8FDE4F185, // IS_ANIMAL_INTERACTION_POSSIBLE
API.PlayerPedId(), // Ped ped
API.PlayerPedId() // Ped animal
);Related PED natives
- _IS_ANIMAL_INTERACTION_RUNNING
- _IS_ANIMAL_CONTROLLED_BY_A_PLAYER
- _IS_ANIMAL_SKINNED
- GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION
- GET_IS_PED_RESPONDING_TO_POSITIVE_INTERACTION
- IS_ANY_HOSTILE_PED_NEAR_POINT
- IS_ANY_PED_NEAR_POINT
- IS_ANY_PED_SHOOTING_IN_AREA
- IS_EVENT_IN_QUEUE
- IS_GROUP_LOCALLY_CONTROLLED
- IS_INSTANTLY_FILL_PED_POPULATION_FINISHED
- IS_LOCATION_SPAWN_SAFE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.