Chat problem! +Rep
#1

Hello fellas, so I have this under OnPlayerText (removing the underscores from players names) -

Код:
new string[128];
    format(string,sizeof(string),"%s: %s",RemoveUnderScore(playerid),text);
    NearMessageSender(playerid, 8, string, COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2);
Its alright, but the problem is that its showing both chats, the "global" one and the one its under OnPlayerText (above)

Ex: Im typing "test" and it shows -

Fname Lname: test (once with name colour)
Fname Lname: test (twice with white colour which is COLOR_FADE2)

I made this before and it wasnt like that, but I've forgotten many things... anyway, everyone who tries to help will be greatly Reputated!
Reply


Messages In This Thread
Chat problem! +Rep - by Dizzle - 11.12.2014, 20:15
Re: Chat problem! +Rep - by Divergent - 11.12.2014, 20:18
Re: Chat problem! +Rep - by Dizzle - 11.12.2014, 21:06
Re: Chat problem! +Rep - by Clad - 11.12.2014, 21:13
Re: Chat problem! +Rep - by Dizzle - 11.12.2014, 21:25
Re: Chat problem! +Rep - by DaniceMcHarley - 11.12.2014, 21:27
Re: Chat problem! +Rep - by Divergent - 11.12.2014, 21:57

Forum Jump:


Users browsing this thread: 2 Guest(s)