30.06.2016, 07:25
This is what i do:
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.
Код:
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); }