Advertisement
spikeyspik

Timer

Apr 13th, 2017
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Loop
  2. {
  3.     if WinActive("GTA:SA:MP")
  4.     {
  5.         WinWaitNotActive, GTA:SA:MP
  6.         startTime := A_TickCount
  7.     }
  8.     if (A_TickCount - startTime > 900000)
  9.     {
  10.         while (!WinActive("GTA:SA:MP"))
  11.         {
  12.             SoundBeep, 523, 500
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement