13.07.2013, 00:18
How do I make a command such as /report that only sends the message to admins?
stock Admin(color,string[],level)
{
foreach(Player, i)
{
if (PlayerInfo[i][pAdmin] >= level)
{
SendClientMessage(i, color, string);
}
}
return 1;
}
// For the message
format(string, sizeof(string), "message");
Admin(color, string, 2);
format(string, sizeof(string), "message");
Admin(color, string, 2);