GET_ANIM_DURATION
Returns the duration of the given animation, in seconds.
Signature
float GET_ANIM_DURATION(const char* animDict, const char* animName); // 0x9FFAF4940A54CC09 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | animDict | const char* |
| 2 | animName | const char* |
Facts
| Name | GET_ANIM_DURATION |
|---|---|
| Hash | 0x9FFAF4940A54CC09 |
| 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(0x9FFAF4940A54CC09, -- GET_ANIM_DURATION
"text", -- const char* animDict
"text", -- const char* animName
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x9FFAF4940A54CC09", // GET_ANIM_DURATION
"text", // const char* animDict
"text", // const char* animName
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x9FFAF4940A54CC09, // GET_ANIM_DURATION
"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.