21.01.2011, 22:51
hi all
my problem is when i press sprint key the player start sprint & even if take my finger out the key he still sprinting
can some one show me can i change that to make the player sprint only if he HOLD THE KEY pls
this is the code that i'm using
my problem is when i press sprint key the player start sprint & even if take my finger out the key he still sprinting
can some one show me can i change that to make the player sprint only if he HOLD THE KEY pls
this is the code that i'm using
Код:
if((newkeys & KEY_SPRINT) && (team[playerid] == 2)) { ApplyAnimation(playerid,"MUSCULAR","MuscleSprint",100000.1,1,1,1,1,1,1); return 1; }