[Ajuda] Mostrar Tempo do Comando
#2

Basta adaptar agora

pawn Код:
new
    Minuto[MAX_PLAYERS],
;


CMD:teste(playerid) {
    new String[128];
    format(String, 128, "Ainda Falta %02d minutos para usar o comando novamente", Minuto[playerid]);
   
    if(Minuto[playerid] > 0)
        return SendClientMessage(playerid, -1, String);

    SetTimerEx("Tempo", 1000*60, true, "i", playerid);
    Minuto[playerid] = 5;
    return true;
}

forward Tempo(playerid);
public Tempo(playerid) {
    Minuto[playerid]--;
    return true;
}
Reply


Messages In This Thread
Mostrar Tempo do Comando - by SK00L - 15.02.2014, 20:44
Re: Mostrar Tempo do Comando - by FallweN - 15.02.2014, 20:54
Re: Mostrar Tempo do Comando - by SK00L - 15.02.2014, 21:14
Re: Mostrar Tempo do Comando - by Locky_ - 15.02.2014, 21:53
Re: Mostrar Tempo do Comando - by SK00L - 15.02.2014, 23:18

Forum Jump:


Users browsing this thread: 1 Guest(s)