13.10.2013, 06:57
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(pTeam[issuerid] == pTeam[playerid])
{
new Float:health,Float:Armour;
GetPlayerHealth(playerid,health);
GetPlayerArmour(playerid,Armour);
SetPlayerHealth(playerid,health);
SetPlayerArmour(playerid,Armour);
return 1;
}
}