Duda con el gettime
#5

Quote:
Originally Posted by OTACON
Посмотреть сообщение
pawn Код:
forward HoraEnPunto();
public HoraEnPunto()
{
    new hora,minuto,segundo;
    gettime(hora,minuto,segundo);
    if(minuto >= 60) //compueba si los minutos es mayor o igual a 60 (60 minutos igual a una hora)
    {
        SendClientMessageToAll(-1,"Ha pasado una hora");
        //aqui le oclocas la variable
        /*
        EJEMPLO:
            variable ++;
        */

    }
}
їPero quй pasarнa si un usuario conecta en el minuto 58? Al ejecutar la variable estarнa tomando como que jugу una hora y no es asн.
Reply


Messages In This Thread
Duda con el gettime - by Juance - 09.07.2014, 12:23
Respuesta: Duda con el gettime - by aoEXE - 09.07.2014, 12:53
Respuesta: Duda con el gettime - by Juance - 09.07.2014, 13:09
Respuesta: Duda con el gettime - by OTACON - 09.07.2014, 13:20
Respuesta: Duda con el gettime - by Juance - 09.07.2014, 13:22
Respuesta: Duda con el gettime - by OTACON - 09.07.2014, 13:33
Respuesta: Duda con el gettime - by Juance - 09.07.2014, 13:40
Respuesta: Duda con el gettime - by OTACON - 09.07.2014, 13:42
Respuesta: Duda con el gettime - by Juance - 09.07.2014, 13:46
Respuesta: Duda con el gettime - by OTACON - 09.07.2014, 13:54

Forum Jump:


Users browsing this thread: 8 Guest(s)