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н.