SetPedAnimationProgress

From Multi Theft Auto: Wiki
Revision as of 12:23, 15 August 2011 by Grascm (talk | contribs) (Created page with "==Syntax== <syntaxhighlight lang="lua"> bool setPedAnimationProgress ( ped thePed, string anim, float progress) </syntaxhighlight> ===Required Arguments=== *'''thePed:''' the player or ped you want to chan...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax

bool setPedAnimationProgress ( ped thePed, string anim, float progress)

Required Arguments

  • thePed: the player or ped you want to change animation progress.
  • anim: the animation name, currently applied to ped.
  • progress: current animation progress you want to apply, value from 0.0 to 1.0.

Returns

Returns true if succesful, false otherwise.