SA-MP Forums Archive
Wont show the animation. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Wont show the animation. (/showthread.php?tid=120498)



Wont show the animation. - WardenCS - 11.01.2010

Hey,i wanted to add the you need to rest thingy,like u gotta go to hospital if u die..but it wont show the animation

heres the lines:

pawn Код:
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 0, 0, 0, 0, 0);
                PlayerInfo[playerid][pDeaths] += 1;
                SetPlayerHealth(playerid, 25.0);
            SetPlayerInterior(playerid, 3);
            PlayerInfo[playerid][pInt] = 3;
                SetPlayerFacingAngle(playerid, 0);
            TogglePlayerControllable(playerid, 0);
            GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~You Have To Rest Now...", 30000, 3);
            JustDied[playerid] = 1;
            MedicTime[playerid] = 1;
            ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 0, 0, 0, 0, 0);
thanks for helping


Re: Wont show the animation. - WardenCS - 12.01.2010

iBUMP!