Advertisement
Guest User

Untitled

a guest
Nov 13th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.73 KB | None | 0 0
  1. if(PayDay_Poeni == 60)
  2. {
  3.     new sat1, minut1, sekund1, godina1, mesec1, dan1;
  4.     gettime(sat1, minut1, sekund1);
  5.     getdate(godina1, mesec1, dan1);
  6.     if(Logovan[i] == 1 && PlayerInfo[i][Level] != 0)
  7.     {
  8.         if(AFKVrijeme[i] < 600)
  9.         {
  10.             PlayerInfo[i][PayDayPoeni]++;
  11.             if(minut1 >= 0 && minut1 <= 3)
  12.             {
  13.                 if(hDobioPay[i] == 0)
  14.                 {
  15.                     PayDay(i);
  16.                 }
  17.             }
  18.             else if(minut1 > 3) hDobioPay[i] = 0;
  19.         }
  20.     else if(AFKVrijeme[i] >= 600 && PlayerInfo[i][Level] >= 1 && PlayerInfo[i][Level] <= 5)
  21.     {
  22.       PlayerInfo[i][PayDayPoeni]++;
  23.       if(minut1 >= 0 && minut1 <= 3)
  24.       {
  25.         if(hDobioPay[i] == 0)
  26.         {
  27.           PayDay(i);
  28.         }
  29.       }
  30.       else if(minut1 > 3) hDobioPay[i] = 0;
  31.     }
  32.     }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement