29.05.2015, 13:58
PHP код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
if (GetPlayerTeam(playerid) == GetPlayerTeam(damagedid))
{
GameTextForPlayer(playerid, "Nгo ataque seu time", 5000, 2);
....
return false;
}
return true;
}