- Documentation
- Client functions
- engineRestoreAnimation
Function
engineRestoreAnimation
Undoes animation replacements from engineReplaceAnimation on a ped: all, one game block's or one animation.
Syntax
bool engineRestoreAnimation(ped thePed [, string internalBlockName, string internalAnimName])Arguments
thePedped- The ped.
internalBlockNamestring, optional- Game block.
internalAnimNamestring, optional- Game animation.
Returns
true on success.
Example
engineRestoreAnimation(localPlayer)