"Realchat"
#1

Hey guys!

I want that, when the players write something in just normal chat, it should say: "Name" says: (text).
Normal it just says: "Name": (text)

Okay, so here's what I got:

I put this on OnPlayerText:
pawn Код:
{
    new sendername[MAX_PLAYER_NAME];
    new string[256];
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "%s says: %s", sendername, text);
    ProxDetector(50.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
    return 0;
}
When I made this, I wanted it to do what I said, but it doesn't? How can I make it say what I want?

Thanks.

/JaloNik.
Reply


Messages In This Thread
"Realchat" - by [DK]JaloNik - 09.07.2010, 16:50
Re: "Realchat" - by dice7 - 09.07.2010, 16:52
Re: "Realchat" - by [DK]JaloNik - 09.07.2010, 17:00
Re: "Realchat" - by [DK]JaloNik - 09.07.2010, 17:07
Re: "Realchat" - by Cameltoe - 09.07.2010, 17:11

Forum Jump:


Users browsing this thread: 2 Guest(s)