[HELP]OnPlayerText
#1

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(TextTest == 1)
    {
        return 1;
    }
    else
    {
        new string[512];
        format(string, sizeof(string), "%s [%i]: {FFFFFF}%s", GetName(playerid), playerid,text[0]);
        SendClientMessageToAll(GetPlayerColor(playerid),string);
    }
    return 0;
}
Hey , i want to make that, like the my color in chat come same what come in TAB, but its dont work :S With that code my color in chat is black :S How to fix it ?
Reply


Messages In This Thread
[HELP]OnPlayerText - by Gertin - 13.06.2011, 19:46
Re: [HELP]OnPlayerText - by Donya - 13.06.2011, 19:51
Re: [HELP]OnPlayerText - by Gertin - 14.06.2011, 08:01

Forum Jump:


Users browsing this thread: 2 Guest(s)