Added OnPlayerAnimation() hook.

Initial patch by @STR_Warrior, updated to account for different animation packets.