public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ if ((newkeys & KEY_FIRE) || (newkeys & KEY_SPRINT)) { ClearAnimations(playerid); } return 1;}