SHARE
TWEET

Untitled

Dravizz Apr 18th, 2020 901 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         if(playerDB[i][HealthCheck] != -5 || playerDB[i][AFK_Time] < 5)
  2.         {
  3.             new Float:aa, Float:bb;
  4.             GetPlayerHealth(i, aa);
  5.             GetPlayerArmour(i, bb);
  6.             if(aa > playerDB[i][HealthPlayer])
  7.             {
  8.                 if(playerDB[i][HealthCheck] < gettime())
  9.                 {
  10.                     new msg[200];
  11.                     format(msg, sizeof(msg), "[ANTICHEAT] %s {ffffff}buvo išmestas už nelegalų pasigydymą.", GetPlayerNameEx(i));
  12.                     SendClientMessageToAll(RED, msg);
  13.                     printf("[HEAL] %s buvo išmestas už čytus", GetPlayerNameEx(i));
  14.                     SetPlayerHealth(i, playerDB[i][HealthPlayer]);
  15.                 }
  16.                 else SetPlayerHealthEx(i, playerDB[i][HealthPlayer]);
  17.             }
  18.             else
  19.             {
  20.                 playerDB[i][HealthPlayer] = aa;
  21.             }
  22.             if(bb > playerDB[i][ArmourPlayer])
  23.             {
  24.                 if(playerDB[i][HealthCheck] < gettime())
  25.                 {
  26.                     new msg[200];
  27.                     format(msg, sizeof(msg), "[ANTICHEAT] %s {ffffff}buvo išmestas už nelegalų pasigydymą.", GetPlayerNameEx(i));
  28.                     SendClientMessageToAll(RED, msg);
  29.                     printf("[ARMOUR] %s buvo išmestas už čytus", GetPlayerNameEx(i));
  30.                     SetPlayerArmour(i, playerDB[i][ArmourPlayer]);
  31.                 }
  32.                 else SetPlayerArmourEx(i, playerDB[i][ArmourPlayer]);
  33.             }
  34.             else
  35.             {
  36.                 playerDB[i][ArmourPlayer] = bb;
  37.             }
  38.         }
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