Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
- {
- //new Float:DmgLost[MAX_PLAYERS];
- new Float:DmgDone[MAX_PLAYERS];
- //if(Player[i][pTeam] == GetPlayerTeam(issuerid)) return 1;
- //amount = DmgLost[playerid];
- new Float:armour, Float:health;
- GetPlayerHealth(playerid, health);
- GetPlayerArmour(playerid, armour);
- PlayerInfo[issuerid][pdmg] = PlayerInfo[issuerid][pdmg] + floatround(amount);
- return 1;
- }
Add Comment
Please, Sign In to add comment