ClearAnimations

From SA-MP Wiki

Jump to: navigation, search

ClearAnimations


Clears (stops) all animations for the given player.


Parameters:
(playerid)
playeridThe ID of the player.
This function does not return a specific value, it's best to simply ignore it.


if(strcmp(cmd, "/animsoff", true) == 0)
{
    ClearAnimations(playerid);
    return 1;
}

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools