06.10.2011, 19:27
I'm using this:
Then you can use:
pawn Код:
stock SendMessageToAdmins(color, string[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && PlayerInfo[i][Adminlevel] > 0) // Own vars.
{
SendClientMessage(i, color, string);
}
}
return 1;
}
pawn Код:
SendMessageToAdmins( ...