GetPedAnimationLength: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Typo)
mNo edit summary
 
Line 16: Line 16:
===Returns===
===Returns===
Returns animation length on success, -1 otherwise.
Returns animation length on success, -1 otherwise.
===Examples===
{{Needs Example}}


==See Also==
==See Also==
{{Client_ped_functions}}
{{Client_ped_functions}}

Latest revision as of 13:15, 15 October 2024

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