PDA

View Full Version : ClearAnimations Not working


King Ace
28/12/2012, 06:26 PM
My ClearAnimations code:

CMD:sanim(playerid, params[])
{
ClearAnimations(playerid);
return true;
}

Animation code:

CMD:handsup(playerid, params[])
{
if(GetPlayerState(playerid) == 1)
{
ApplyAnimation(playerid,"PED","handsup",4.1,0,1,1,0,1,1);
}
return true;
}



When I use /sanim it does nothing, the animation stays.