24.12.2015, 16:47
Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if(hittype == 1 && gTeam[playerid] == gTeam[hitid]) {
SendClientMessage(playerid, COLOR_RED, "Do not shoot your teammates!");
return 0;
}
return 1;
}

