10.12.2013, 07:49
Use SetPlayerTeam for your teams
pawn Code:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(GetPlayerTeam(playerid) == GetPlayerTeam(issuerid))
{
GameTextForPlayer(issuerid, "~r~Dont atack your team!", 2000, 6); return 0;
}
}

