28.06.2011, 01:26
I have that. Maybe if you take a look at the whole thing
pawn Код:
SendFactionMessage(color, text[])
{
foreach(Player, i)
{
new FactionS[60];
GetPlayerName(i, Name, sizeof Name);
format(file, sizeof file, SERVER_USER_FILE, Name);
format(FactionS,sizeof(FactionS), "%s", dini_Get(file, "Faction"));//Brackets.
if(PlayerInfo[i][pFaction] == FactionS)
{
SendClientMessage(i, color, text);
}
}
return 0;
}