new count; for(new i = 0; i < MAX_PLAYERS && tickcount() - count == 1000; i++) { Do whatever count = tickcount(); }