Перейти к содержанию

Entity::getAnimTotalTime

Материал из RAGE MP Wiki Archive
Версия от 17:58, 1 мая 2024; imported>Shr0x (See also)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)

Returns a float value representing animation's total playtime in milliseconds.

Example:
GET_ENTITY_ANIM_TOTAL_TIME(PLAYER_ID(),'amb@world_human_yoga@female@base','base_b')
return 20800.000000

Syntax

<syntaxhighlight lang="javascript">entity.getAnimTotalTime(animDict, animName);</syntaxhighlight>

Required Arguments

  • animDict: String
  • animName: String

Return value

  • float

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also