Looking for a suiting animation
#3

No, I don't have any animation set in mind, just hoping someone might know of an animation that would work for it.

I've found a temporary solution, however.. I want the animation to stop automaticly without the player having to click or press F..

I'm trying to use ClearAnimation but that doesn't work as the player still has to do something to be able to move again. The only solution I made up, which works, is slapping the player by Z + 1, however this doesn't look very good, so I'd rather settle with a better solution if there is one possible.

pawn Код:
ApplyAnimation(playerid, "ON_LOOKERS", "panic_loop", 4.1, 1, 0, 0, 1, 4950, 1);
                    SendClientMessage(playerid, COLOR_DARKCYAN, "You carefully use bandages on your wounds.");
                    SetTimerEx("Healing", 5050, false, "i", playerid);
This is the part where it starts the animation and sets a timer to apply the heal and end the animation.


Here is the timer:

pawn Код:
SetPlayerHealth(playerid, NewHealth + 20);
        SendClientMessage(playerid, COLOR_GREEN, "You have succesfully healed yourself!");
        ClearAnimations(playerid, 1);
Reply


Messages In This Thread
Looking for a suiting animation - by AnthonyTimmers - 20.02.2014, 14:58
Re: Looking for a suiting animation - by Kyle - 20.02.2014, 15:13
Re: Looking for a suiting animation - by AnthonyTimmers - 20.02.2014, 15:38
Re: Looking for a suiting animation - by AnthonyTimmers - 21.02.2014, 23:05
Re: Looking for a suiting animation - by Aerotactics - 21.02.2014, 23:13
Re: Looking for a suiting animation - by ZeroTheScyther - 22.02.2014, 00:32
Re: Looking for a suiting animation - by AnthonyTimmers - 22.02.2014, 10:59

Forum Jump:


Users browsing this thread: 5 Guest(s)