27.02.2014, 18:43
Use This :
Код:
if(newkeys == KEY_FIRE) { if(sit[playerid] == 1) { sit[playerid] =0; ApplyAnimation(playerid,"FIGHT_C","FightC_M",5,0,0,0,0,0); } if(oldkeys == KEY_FIRE) { if(sit[playerid] == 0) { sit[playerid] =1; ClearAnimations(playerid); } }