10.04.2011, 21:00
How I can make if a player write a command the admins to can see it
new str[64], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof name);
format(str, 64, "%s has sent the command: \"%s\".", name, cmdtext);
for(new i = 0, j = GetMaxPlayers(); i < j; i++)
{
if(IsPlayerAdmin(i))
{
SendClientMessage(i, 0xFFFFFFAA, str);
}
}