Advertisement
Ewolutions

AntiGodArmorCheat

Mar 22nd, 2012
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.45 KB | None | 0 0
  1. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
  2. {
  3.     new Float:Health,Float:Armour;
  4.     GetPlayerHealth(playerid,Health);
  5.     GetPlayerArmour(playerid,Armour);
  6.     if(Health == Health - amount)
  7.     {
  8.         SendClientMessageToAll(-1,"God Mod");
  9.  
  10.     }else{
  11.         SendClientMessageToAll(-1,"Nema");
  12.     }
  13.     if(Armour == Armour - amount)
  14.     {
  15.         SendClientMessageToAll(-1,"God Mod");
  16.  
  17.     }else{
  18.         SendClientMessageToAll(-1,"Nema");
  19.     }
  20.     return 1;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement