public OnPlayerDeath(playerid, killerid, reason) { ClearAnimations(playerid); return1; }
works for me.
Yes that will work, but it'll look funky (noticeably) when you have a normal death. What I posted will not clear animations if you were previously in a ped run anim.