09.01.2015, 23:10
I'm not sure if this is right, please correct me if I'm wrong. Would something like this work?
pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)
{
if(!IsALawEnforcement(issuerid) && gTeam[playerid] == TEAM_CIV )
{
return 0;
}
return 1;
}