ClearAnimations Not working - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ClearAnimations Not working (
/showthread.php?tid=403025)
ClearAnimations Not working -
King Ace - 28.12.2012
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.