Radio command help
#1

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);
			}
		}
	}
}
Reply
#2

BUMP!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)