Problem with admin chat
#6

Quote:
Originally Posted by Logitech90
Посмотреть сообщение
Facepalm.

Stop postind dumb answers.

I writed in the open topic what is my problem.

All working fine,i need to hide only @blabla from the public irc channel.
lol

pawn Код:
if(text[0] == '@')
    {
        if(PlayerInfo[playerid][AdminLevel] > 2)
        {
            if(!strlen(text[1])) return SendClientMessage(playerid, COLOR_ORANGE, "USAGE: @<text>");
            new sendername[128];
            GetPlayerName(playerid, sendername, sizeof(sendername));
            new string[128];
            format(string, sizeof(string), "Admin Chat [%i]%s: %s" ,playerid,sendername, text[1]);
            SendMessageToAdmins(COLOR_GREEN, string);
            AdminCLog(string);
            return 0;
        }
    else return 0;
    }
Reply


Messages In This Thread
Problem with admin chat - by Face9000 - 20.12.2010, 18:11
Re: Problem with admin chat - by Mike_Peterson - 20.12.2010, 18:14
Re: Problem with admin chat - by Face9000 - 20.12.2010, 18:15
Re: Problem with admin chat - by Mike_Peterson - 20.12.2010, 18:20
Re: Problem with admin chat - by Face9000 - 20.12.2010, 18:25
Re: Problem with admin chat - by blackwave - 20.12.2010, 18:26
Re: Problem with admin chat - by Mike_Peterson - 20.12.2010, 18:30
Re: Problem with admin chat - by blackwave - 20.12.2010, 18:32
Re: Problem with admin chat - by Face9000 - 20.12.2010, 18:42
Re: Problem with admin chat - by blackwave - 20.12.2010, 18:46

Forum Jump:


Users browsing this thread: 2 Guest(s)