29.09.2012, 12:21
Nope. I did that as well, and still the same result...
Код:
public ClockUpdate() { new string[12]; Second += 1; format(string, sizeof(string), "%i:%i:%i", Hour, Minute, Second); for(new x = 0; x < MAX_PLAYERS; x++) { if(Logged[x] == 1) { if(Second == 59) { if(Minute == 59) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(Player[i][PaydayTime] >= 30) { SendClientMessage(i, ORANGE, ">> Your pay cheque is ready to be picked up. Please head to the city hall to claim it."); CheckReady[i] = 1; } else return SendClientMessage(i, LIBLUE, ">> You haven't been playing long enough to get a pay cheque."); } } } } if(Hour == 23) { if(Second == 59) { Hour = 0; Minute = 0; Second = 0; } } if(Minute == 59) { if(Second == 59) { Hour ++; Minute = 0; Second = 0; } /*if(Hour == 23) { Hour = 0; Minute = 0; Second = 0; } else { Hour ++; Minute = 0; Second = 0; }*/ }