Guest User

Untitled

a guest
Apr 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.46 KB | None | 0 0
  1. public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
  2. {
  3.     //new Float:DmgLost[MAX_PLAYERS];
  4.     new Float:DmgDone[MAX_PLAYERS];
  5.     //if(Player[i][pTeam] == GetPlayerTeam(issuerid)) return 1;
  6.     //amount = DmgLost[playerid];
  7.     new Float:armour, Float:health;
  8.     GetPlayerHealth(playerid, health);
  9.     GetPlayerArmour(playerid, armour);
  10.     PlayerInfo[issuerid][pdmg] = PlayerInfo[issuerid][pdmg] + floatround(amount);
  11.     return 1;
  12. }
Add Comment
Please, Sign In to add comment