07.02.2018, 22:46
Por que nгo ta detectando o espaзo pressionado?
PHP код:
new Keys,ud,lr;
GetPlayerKeys(i,Keys,ud,lr);
// cansando
if(ud == KEY_SPRINT) {
if(!IsPlayerInAnyVehicle(i)) { PlayerCorrendo(i); }
}
else { // parou de correr
ContadorParandoCorrer[i] = SetTimerEx("PlayerNaoEstaCorrendo", 100, 0, "i", i);
}

