24.09.2012, 16:52
PHP код:
public SendFamilyMessage(family, color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pMember] == family || PlayerInfo[i][pLeader] == family)
{
if(!gFam[i])
{
SendClientMessage(i, color, string);
}
}
}
}
}