SA-MP Forums Archive
stop anim - 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: stop anim (/showthread.php?tid=617226)



stop anim - bboytimix - 17.09.2016

is there a method to stop the animation without any other animation

pawn Код:
if(HOLDING(KEY_SPRINT))
    {
        //SetTimerEx("CantRun",2000,0,"i",playerid);
        if(Team[playerid] == ZOMBIE)
        {
            ApplyAnimation(playerid,"Muscular","MuscleSprint",4.1,1,1,1,1,1,1);
            if(HOLDING(KEY_SPRINT) && PRESSED(KEY_JUMP) || PRESSED(KEY_JUMP) && PRESSED(KEY_SPRINT))
            {
                   STOPANIM ?????
            }
        }



Re: stop anim - ISmokezU - 17.09.2016

https://sampwiki.blast.hk/wiki/ClearAnimations


Re: stop anim - bboytimix - 17.09.2016

Quote:
Originally Posted by ISmokezU
Посмотреть сообщение
this freeze the player for a sec
its dissallow me to jump