SetPedAnimationProgress
Jump to navigation
Jump to search
Sets the current animation progress of a player or ped.
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.