GetAnimCurrentTime

From GT-MP
Jump to: navigation, search
GetAnimCurrentTime
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

See also: GetAnimTotalTime

Returns the current animation time of the specified Ped.

Syntax

float API.getAnimCurrentTime(LocalHandle handle, string animDict, string animName);

Required Arguments

  • handle: parameter input should be in LocalHandle type.
  • animDict: parameter input should be in string type.
  • animName: parameter input should be in string type.


NOTE: This function returns data in float type.

Usage example(s)

API.getAnimCurrentTime(LocalHandle handle, string animDict, string animName);


References