05.06.2015, 02:13
Try:
pawn Код:
public LeaderChat(color,const string[])
{
foreach(Player, i)
{
if(gPlayerLogged[i] == 1)
{
if (PlayerInfo[i][pLeader] >= 1)
{
if(toglc[i] == 0)
{
SendClientMessage(i, color, string);
}
}
}
}
printf("%s", string);
return 1;
}