_IS_ANIMAL_INTERACTION_RUNNING
Returns true while an interaction with the animal ped, such as brushing or feeding, is running.
Signature
BOOL _IS_ANIMAL_INTERACTION_RUNNING(Ped ped); // 0x7FC84E85D98F063D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
Facts
| Name | _IS_ANIMAL_INTERACTION_RUNNING |
|---|---|
| Hash | 0x7FC84E85D98F063D |
| 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(0x7FC84E85D98F063D, -- _IS_ANIMAL_INTERACTION_RUNNING
PlayerPedId() -- Ped ped
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x7FC84E85D98F063D", // _IS_ANIMAL_INTERACTION_RUNNING
PlayerPedId(), // Ped ped
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x7FC84E85D98F063D, // _IS_ANIMAL_INTERACTION_RUNNING
API.PlayerPedId() // Ped ped
);Related PED natives
- _IS_ANIMAL_CONTROLLED_BY_A_PLAYER
- _IS_ANIMAL_SKINNED
- IS_ANIMAL_INTERACTION_POSSIBLE
- GET_IS_PED_RESPONDING_TO_NEGATIVE_INTERACTION
- GET_IS_PED_RESPONDING_TO_POSITIVE_INTERACTION
- IS_PED_RUNNING_MOBILE_PHONE_TASK
- IS_PED_RUNNING_RAGDOLL_TASK
- _IS_META_PED_ASSET_VALID
- _IS_META_PED_FISH
- _IS_META_PED_OUTFIT_EQUIPPED
- _IS_META_PED_OUTFIT_REQUEST_VALID
- _IS_META_PED_REQUEST_VALID
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.