_GET_ENTITY_ANIM_CURRENT_TIME
Returns the current playback time of the given animation on the entity.
Signature
float _GET_ENTITY_ANIM_CURRENT_TIME(Entity entity, const char* animDict, const char* animName); // 0x627520389E288A73 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
| 2 | animDict | const char* |
| 3 | animName | const char* |
Facts
| Name | _GET_ENTITY_ANIM_CURRENT_TIME |
|---|---|
| Hash | 0x627520389E288A73 |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x627520389E288A73, -- _GET_ENTITY_ANIM_CURRENT_TIME
PlayerPedId(), -- Entity entity
"text", -- const char* animDict
"text", -- const char* animName
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x627520389E288A73", // _GET_ENTITY_ANIM_CURRENT_TIME
PlayerPedId(), // Entity entity
"text", // const char* animDict
"text", // const char* animName
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x627520389E288A73, // _GET_ENTITY_ANIM_CURRENT_TIME
API.PlayerPedId(), // Entity entity
"text", // const char* animDict
"text" // const char* animName
);Related ENTITY natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.