11.02.2014, 09:49
pawn Код:
forward SendMessageToOfficialFaction(playerid, color,const string[]);
public SendMessageToOfficialFaction(playerid, color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) == 1)
if(PlayerInfo[i][pFaction] == PlayerInfo[playerid][pFaction])
SendClientMessage(i, color, string);
}
return 1;
}