Vuk7

Anti TA

Nov 14th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.32 KB | None | 0 0
  1. public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
  2. {
  3.     if(gTeam[playerid] == gTeam[damagedid])
  4.     {
  5.         new Float:health;
  6.         GetPlayerHealth(damagedid,health);
  7.         SetPlayerHealth(damagedid,health+amount);
  8.         GameTextForPlayer(playerid, "~r~ DON'T TA", 2000, 3);
  9.     }
  10.     return 1;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment