GetPedAnimationProgress: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Added new function (TODO: Example required!))
 
No edit summary
 
Line 16: Line 16:
===Returns===
===Returns===
Returns animation progress on success, -1 otherwise.
Returns animation progress 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 progress of a current running ped animation.

Syntax

float getPedAnimationProgress ( ped thePed )

Required Arguments

Returns

Returns animation progress on success, -1 otherwise.

Examples

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

Before submitting check out Editing Guidelines Script Examples.


See Also