24.01.2016, 16:38
Under OnPlayerTakeDamage:
Код:
if(GetPlayerTeam(issuerid) != GetPlayerTeam(playerid)) { // If the player giving damage isn't on the players team he's giving damage to.. } else { GameTextForPlayer(issuerid, "~r~DO NOT ATTACK TEAMMATES", 3000, 3); }