Advertisement
Johurt

givePrizes fix

Dec 23rd, 2018
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.43 KB | None | 0 0
  1. forward givePrizes();
  2. public givePrizes()
  3. {
  4.     /*
  5.         Žemiau esanti kodą įdėti į givePrizes apačią, prieš return'ą.
  6.     */
  7.     for(new p = GetPlayerPoolSize(); p > -1; p--)
  8.     {
  9.         if(IsPlayerConnected(p) && !IsPlayerNPC(p))
  10.         {
  11.             PlayerDB[p][SiandienZaista]     = 0;
  12.             PlayerDB[p][PravaziavoSiandien] = 0.0;
  13.             PlayerDB[p][fishesMoneyToday]   = 0;
  14.             PlayerDB[p][fishesCaughtToday]  = 0;
  15.         }
  16.     }
  17.     return 1;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement