29.01.2013, 05:59
pawn Код:
stock MessageToAdmins(color, admlvl, string[])
{
foreach(Player, i)
{
if(pInfo[i][Adminlevel] >= admlvl)
{
SendClientMessage(i, color, string);
}
}
return 1;
}
new string[256];
format(string, sizeof(string), "hi");
MessageToAdmins(color u want, admin level required to see it, string);
MessageToAdmins(-1, 5,string); so u need atleast level 5 admin to see the string
https://sampforum.blast.hk/showthread.php?tid=92679%29