03.06.2014, 12:19
Go Under OnPlayerText and add;
pawn Код:
public OnPlayerText(playerid, text[])
{
if (text[0] == '#')
{
format(string,sizeof(string),"4[ADMIN CHAT] %s(%d): %s",PlayerName(playerid),playerid,params);
IRC_GroupSay(gGroupAdminID,IRC_ADMINCHANNEL,string);
for(new i=0; i<MAX_PLAYERS; i++)
{
if(AdminLevel[i] >= 1)
{
format(string,sizeof(string),"[ADMIN CHAT] %s(%d): %s",PlayerName(playerid),playerid,params);
SendClientMessage(i,COLOR_ADMIN,string);
}
}
return 1;