30.06.2016, 03:15
So i what i want to do is checking if someone has done the animation so i can apply more animation without weird moves... is that possible? if that possible how can we do that?
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);
}