07.06.2010, 17:44
Hello,i wanted to make radio system,but everything works,expect,if im not in the same faction,i can still see other factions chat,heres the sendradiomessage,i think theres the bug,thanks
Code:
public SendRadioMessage(member, color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
new membefr = PlayerStatistics[i][pFaction];
if(PlayerStatistics[i][pFaction] == membefr)
{
SendClientMessage(i, color, string);
}
}
}
}

