SetAnimSpeed

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

Sets the speed of the specified animation being played by the specified entity.

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.

Syntax

In Javascript
Client-Side Function

API.setAnimSpeed(LocalHandle handle, string animDict, string animName, double speedMultiplier);

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.
  • speedMultiplier parameter input should be in double type.

Usage example

In Javascript
Client-Side Function

API.setAnimSpeed(LocalHandle handle, string animDict, string animName, double speedMultiplier);

References