pawn Код:
//Admin Chat
if((text[0] == '#' || text[0] == '@') && admin_check && strlen(text) > 1)
{
format(string,sizeof(string),"[ADMIN] %s (%i): %s",pName[playerid],playerid,text[1]);
for(new i = 0; i < MAX_PLAY; i++)
{
if(admin_check) SendClientMessageToPlayer(i,COLOR_PINK,string);
}
return 0;
}
Put that under OnPlayerText, and replace the 2 admin_check's with your 'IsPlayerAdmin(playerid)' or whatever you use.