_IS_ENTITY_PLAYING_ANY_ANIM
Returns true if the entity is playing any animation.
Signature
BOOL _IS_ENTITY_PLAYING_ANY_ANIM(Entity entity, int p1); // 0x0B7CB1300CBFE19C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | p1 | int |
Facts
| Name | _IS_ENTITY_PLAYING_ANY_ANIM |
|---|---|
| Hash | 0x0B7CB1300CBFE19C |
| 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(0x0B7CB1300CBFE19C, -- _IS_ENTITY_PLAYING_ANY_ANIM
PlayerPedId(), -- Entity entity
0 -- int p1
)
if result then
-- ...
endconst result = Citizen.invokeNative("0x0B7CB1300CBFE19C", // _IS_ENTITY_PLAYING_ANY_ANIM
PlayerPedId(), // Entity entity
0, // int p1
Citizen.returnResultAnyway()
);
if (result) {
// ...
}bool result = Function.Call<bool>((Hash)0x0B7CB1300CBFE19C, // _IS_ENTITY_PLAYING_ANY_ANIM
API.PlayerPedId(), // Entity entity
0 // int p1
);Related ENTITY natives
- IS_ENTITY_PLAYING_ANIM
- _IS_ENTITY_FROZEN
- _IS_ENTITY_FULLY_LOOTED
- _IS_ENTITY_ON_TRAIN_TRACK
- _IS_ENTITY_OWNED_BY_PERSISTENCE_SYSTEM
- _IS_ENTITY_UNDERWATER
- IS_ENTITY_A_MISSION_ENTITY
- IS_ENTITY_AT_ENTITY
- IS_ENTITY_ATTACHED_TO_ANY_OBJECT
- IS_ENTITY_ATTACHED_TO_ANY_PED
- IS_ENTITY_ATTACHED_TO_ANY_VEHICLE
- IS_ENTITY_ATTACHED_TO_ENTITY
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.