14.01.2015, 11:21
You are making admins who are level 1+ can use # chat, while you don't show them be cause it's for level 2+ :
the fix is to change '2' to '1'.
pawn Код:
public MessageToPlayerAdmin(color,const string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) == 1)
if(PlayerInfo[i][Admin] >= 2) // Look here, level 2 only, while level 1 can send it but they don't see it.
SendClientMessage(i, color, string);
}
return 1;
}