public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(GetPVarInt(playerid, "InAnimation") >= 1 && (newkeys & KEY_SPRINT) && !(oldkeys & KEY_SPRINT))
{
if(GetPVarInt(playerid, "LoopingAnim") >= 1) StopLoopingAnim(playerid);
else
{
ClearAnimations(playerid);
DeletePVar(playerid, "InAnimation");
}
TextDrawHideForPlayer(playerid,AnimationHelper);
}
}