/a (admin) chat
#2

Well it depends on what kind of variables you are using. In Lethal Admin script, this is the code for the admin chat:

pawn Код:
if(text[0] == '#' && if ( GetPVarInt( playerid, "Level" ) > 1 ) { // I REPLACED WITH YOUR VARIABLE
        new string[128]; GetPlayerName(playerid,string,sizeof(string));
        format(string,sizeof(string),"Admin Chat: %s: %s",string,text[1]); MessageToAdmins(green,string);
        return 0;
    }
I doubt it will work, but give it a try. Place it under OnPlayerText.

If it doesn't work (99% it probably wont ), I recommend downloading an admin script.
Reply


Messages In This Thread
/a (admin) chat - by anumaz - 17.03.2011, 20:39
Re: /a (admin) chat - by grand.Theft.Otto - 17.03.2011, 20:46
Re: /a (admin) chat - by Calgon - 17.03.2011, 20:51
Re: /a (admin) chat - by anumaz - 17.03.2011, 21:00
Re: /a (admin) chat - by grand.Theft.Otto - 17.03.2011, 21:03
Re: /a (admin) chat - by Calgon - 17.03.2011, 21:04
Re: /a (admin) chat - by anumaz - 17.03.2011, 21:07
Re: /a (admin) chat - by Calgon - 17.03.2011, 21:10
Re: /a (admin) chat - by anumaz - 17.03.2011, 21:15
Re: /a (admin) chat - by Marricio - 17.03.2011, 21:17

Forum Jump:


Users browsing this thread: 5 Guest(s)