Admin Chat - Lux Admin
#1

Well ' Ill be fast

It looks like this

pawn Код:
if(text[0] == '#' && AccInfo[playerid][Level] >= 1)
    {
        new string[128]; GetPlayerName(playerid,string,sizeof(string));
        format(string,sizeof(string),"Admin Chat: %s: %s",string,text[1]);
        MessageToAdmins(green,string);
        #if ADM_CHAT_LOG == true
        SaveIn("AdmChatLog",string);
        #endif
        return 0;
    }
And to use it is

# Test

With "#" in front.

I tried but I couldn't to replace # with /ac.

Thanks in advance for who knows.
Reply


Messages In This Thread
Admin Chat - Lux Admin - by FrostDoggy - 25.09.2011, 19:36
Re: Admin Chat - Lux Admin - by [WoF]Sonny - 25.09.2011, 19:42
Re: Admin Chat - Lux Admin - by IstuntmanI - 25.09.2011, 19:56
Re: Admin Chat - Lux Admin - by [WoF]Sonny - 25.09.2011, 20:27

Forum Jump:


Users browsing this thread: 3 Guest(s)