ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. engineRestoreAnimation

Function

engineRestoreAnimation

ClientGame engineIdentical to MTA:SA

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)

See also