SHARE
TWEET

Untitled

Dravizz Apr 14th, 2020 694 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if((playerDB[i][HealthCheck] < gettime() && playerDB[i][HealthCheck] != -5) && playerDB[i][AFK_Time] < 1)
  2.         {
  3.             new msg[150];
  4.             GetPlayerHealth(i, aa);
  5.             GetPlayerArmour(i, bb);
  6.             if(aa > playerDB[i][HealthPlayer])
  7.             {
  8.                 format(msg, sizeof(msg), "%s pasigydė.", GetPlayerNameEx(i));
  9.                 SendClientMessageToAll(RED, msg);
  10.                 SetPlayerHealth(i, playerDB[i][HealthPlayer]);
  11.             }
  12.             else
  13.             {
  14.                 printf("Suveikė Heal");
  15.                 playerDB[i][HealthPlayer] = aa;
  16.             }
  17.             if(bb > playerDB[i][ArmourPlayer])
  18.             {
  19.                 format(msg, sizeof(msg), "%s pasigydė.", GetPlayerNameEx(i));
  20.                 SendClientMessageToAll(RED, msg);
  21.                 SetPlayerArmour(i, playerDB[i][ArmourPlayer]);
  22.             }
  23.             else
  24.             {
  25.                 printf("Suveikė Armour");
  26.                 playerDB[i][ArmourPlayer] = bb;
  27.             }
  28.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top