_GET_ENTITY_ANIM_CURRENT_TIME
Returns a normalized value between 0.0f and 1.0f.
Hash
0x627520389E288A73Runtime name
GetEntityAnimCurrentTimeNamespaceENTITY
SideClient
NameCommunity guess
Docs
Since build1207
Signature
float _GET_ENTITY_ANIM_CURRENT_TIME(Entity entity, const char* animDict, const char* animName);Parameters
| Name | Type | Description |
|---|---|---|
entity | Entity | — |
animDict | const char* | — |
animName | const char* | — |
Returns float
Description
Returns a normalized value between 0.0f and 1.0f. You can get the actual anim time by multiplying this by GET_ANIM_DURATION
femga rdr3_discoveries · research notes
// 0x627520389E288A73 (By Disquse)
float _GET_ENTITY_ANIM_CURRENT_TIME(Entity entity, char* animDict, char* animName);Usage
local retval = GetEntityAnimCurrentTime(entity, animDict, animName)
-- always works, by hash
local retval = Citizen.InvokeNative(0x627520389E288A73, entity, animDict, animName, Citizen.ResultAsFloat())JavaScript and C#
const retval = GetEntityAnimCurrentTime(entity, animDict, animName);
// by hash
const retval = Citizen.invokeNative('0x627520389E288A73', entity, animDict, animName, Citizen.returnResultAnyway(), Citizen.resultAsFloat());float retval = Function.Call<float>((Hash)0x627520389E288A73, entity, animDict, animName);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
Sources
alloc8or RDR3 NativeDB · femga rdr3_discoveries
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.