24.01.2011, 08:55
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(newkeys < oldkeys) { if(oldkeys - newkeys == KEY_SPRINT) { ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0); } } else { if(newkeys - oldkeys == KEY_SPRINT) { ApplyAnimation(playerid,"MUSCULAR", "MuscleSprint", 4.0, 1, 1, 1, 1, 1, 1); } } return 1; }
I'm try with this code to change sprint, but isn't work, someone help me