31.08.2016, 09:02
Hi,
It's possible to get current player actor animation? like GetPlayerAnimationIndex?
It's possible to get current player actor animation? like GetPlayerAnimationIndex?
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);
}