OnPlayerText (+Rep)
#2

Use SendClientMessageToAll instead... Example:

pawn Code:
public OnPlayerText(playerid, text[])
{
    new output[128], pname[24];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(output, sizeof(output), "%s (%d): %s", pname, playerid, text);
        SendClientMessageToAll(color, output);
    return 0;
}
And do something to prevent the original text from sending.

EDIT:
Did return 0;
Reply


Messages In This Thread
OnPlayerText (+Rep) - by Crazyboobs - 07.04.2012, 08:30
Re: OnPlayerText (+Rep) - by DBan - 07.04.2012, 08:42
Re: OnPlayerText (+Rep) - by Crazyboobs - 07.04.2012, 08:45
Re: OnPlayerText (+Rep) - by DBan - 07.04.2012, 08:48
Re: OnPlayerText (+Rep) - by Crazyboobs - 07.04.2012, 08:57

Forum Jump:


Users browsing this thread: 1 Guest(s)