OnPlayertext
#6

Quote:
Originally Posted by Vince
Посмотреть сообщение
He's not asking for some roleplay text thing.

This is simple, and should work without any further changes:

pawn Код:
public OnPlayerText(playerid, text[])
{
    new
        str[128];

    format(str, sizeof(str), "(%d): %s", playerid, text);
    SendPlayerMessageToAll(playerid, str);
    return 0;
}
Thanks Man this is working fine only when i type in Mainchat i get 2 Texts
Reply


Messages In This Thread
OnPlayertext - by NeverKnow - 21.09.2010, 14:32
Re: OnPlayertext - by Mauzen - 21.09.2010, 14:36
Re: OnPlayertext - by Rachael - 21.09.2010, 14:46
Re: OnPlayertext - by NeverKnow - 22.09.2010, 19:04
Re: OnPlayertext - by Vince - 22.09.2010, 20:11
Re: OnPlayertext - by NeverKnow - 03.10.2010, 07:55
Re: OnPlayertext - by playbox12 - 03.10.2010, 08:14

Forum Jump:


Users browsing this thread: 2 Guest(s)