Code:
case 1:
{
if(PlayerInfo[playerid][pMask] == 1)
{
format(str, sizeof(str), "** %s Stranger(%d) (( %s )) **", GetPlayerRank(playerid), maskidez[playerid], msg); //this shows 2 times
SendRadioMessage(1, TEAM_BLUE_COLOR, str);
}
else
format(str, sizeof(str), "** %s %s: (( %s )) **", GetPlayerRank(playerid), PlayerICName(playerid), msg);
SendOOCRadio(1, TEAM_BLUE_COLOR, str);
if(IsPlayerConnected(beingSpectatedID[playerid]) && SpectatingID[beingSpectatedID[playerid]] == playerid)
{
if(IsPlayerConnected(beingSpectatedID[playerid]))
{
format(str, sizeof(str), "[AdmWrn] %s used /or: %s", PlayerICName(playerid), msg);
SendClientMessage(beingSpectatedID[playerid], COLOR_YELLOW, str);
}
}
}