15.12.2013, 08:55
Quote:
1 second =1000
60 seconds =60000 I think you get the point from here on |
Код HTML:
JAILLAIKAS[ playerid ] --; new str[70]; new hours, minutes, seconds = JAILLAIKAS[playerid]; if(sekundes >= 60000) { minutes ++; seconds -=60000; } if(minutes >= 60) { hours ++; minutes -=60; } format(str, 70, "~n~~n~~n~~n~~n~~n~~w~Liko sedet:~r~%d val %d min %d sec",hours,minutes, seconds); GameTextForPlayer(playerid, str, 1000, 5);