10.12.2010, 19:50
I'm using this include to do the following;
It seems to be doing the job if you ask me.
pawn Код:
public OnPlayerShootPlayer(shooter, target, damage)
{
new Float:CurHealth;
GetPlayerHealth(target, CurHealth);
if(gTeam[shooter] == TEAM_POLICE && gTeam[target] == TEAM_POLICE)
SetPlayerHealth(target, CurHealth+damage);
return 1;
}