OnPlayerText ??
#3

Put in OnPlayerText callback:

pawn Код:
if(PlayerInfo[playerid][PlayerAdmin] >= 1)
    {
        new string[128];
        format(string,sizeof(string),"{33CCFF}[ADMIN] {FFFFFF}%s",text);
        SendClientMessageToAll(0xFFFFFFAA, string);
        return 0;//It will stop the normal message that appears when you talk.It will happen only for admins.
    }
I hope that i have helped
Reply


Messages In This Thread
OnPlayerText ?? - by park4bmx - 20.02.2011, 17:44
Re: OnPlayerText ?? - by Marricio - 20.02.2011, 17:47
Re: OnPlayerText ?? - by rjjj - 20.02.2011, 17:50
Re: OnPlayerText ?? - by Mean - 20.02.2011, 18:24
Re: OnPlayerText ?? - by park4bmx - 20.02.2011, 19:38

Forum Jump:


Users browsing this thread: 1 Guest(s)