How to Check After Animation
#3

This is what i do:
Код:
new
    animlib[32],
    animname[32]
;
GetAnimationName(GetPlayerAnimationIndex(playerid), animlib, sizeof(animlib), animname, sizeof(animname));

if(!strcmp(animlib, "SUNBATHE", true))
{
    if(!strcmp(animname, "batherdown", true))
        ApplyAnimation(playerid, "SUNBATHE", "batherup", 4.1, 0, 0, 0, 0, 0, 1);
}
If he has the animation "SUNBATHE", "batherdown", then it will apply the "batherup" here, which you could use in /stopanim or where-ever you want it.
Reply


Messages In This Thread
How to Check After Animation - by tandytanz - 30.06.2016, 03:15
Re: How to Check After Animation - by Raza99 - 30.06.2016, 04:25
Re: How to Check After Animation - by CalvinC - 30.06.2016, 07:25

Forum Jump:


Users browsing this thread: 2 Guest(s)