21.08.2012, 17:58
Run a loop through all the players, detect who of them is an admin, and send them the message.
Something like
Using foreach.
Something like
pawn Код:
function SendAdminMessage(color,const str[])
{
foreach(Player,i)
{
if(PInfo[i][Level] > 0)
{
SendClientMessage(i,color,str);
}
}
return 1;
}