Thanks for the Reply Slacer
The only code that i am using is the ent_animate to be specific the exact code i am using is:
my.skill20+=1*time_step;
my.skill20%=100;
ent_animate(my,"Leg_STAIR_UP",my.skill20,ANM_CYCLE);
i have created a seperate fresh script that had nothing but the entity and the animation code and still have the same problem. I have also tested with different models as well as tested by converting the model to points animation and the results are still the same.
Thanks,
AJ