GetPedAnimationLength

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

ADDED/UPDATED IN VERSION 1.6.0 r22780:

This function returns the length of a current running ped animation.

Syntax

float getPedAnimationLength ( ped thePed )

Required Arguments

Returns

Returns animation length on success, -1 otherwise.

Examples

Accessories-text-editor.png Script Example Missing Function GetPedAnimationLength needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


See Also