It's possible to get current player actor animation? like GetPlayerAnimationIndex?
As far as I'm aware, no. However, you must use ApplyActorAnimation every time you want to give an actor an animation... so you always have that information available to you. Just hook ApplyActorAnimation or create a function of your own.
Eg.
PHP код:
new actorlib[20];
new actoranimname[20];
ApplyActorAnimationEx(actorid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time)
{
format(actorlib, sizeof(actorlib), "%s", animlib);
format(actoranimname, sizeof(actoranimname), "%s", animname);
// other stuff
return ApplyActorAnimation(actorid, animlib, animname, fDelta, loop, lockx, locky, freeze, time);
}