Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. procedure WaitTime();
  2. begin
  3. if (GetTickCount() < WaitTimer) then Exit;
  4. wait(2000);
  5. WaitTimer := GetTickCount() + 300000;
  6. end;
  7.  
  8. using this "or (GetTickCount() < WaitTimer)" but i want it to reset timer each loop.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement