11.08.2012, 15:16
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if((gTeam[issuerid] == gTeam[playerid]) && weaponid == 16 )
{
SetPlayerHealth(playerid, GetPlayerHealth(playerid)-amount);
}
return 1;
}