12.07.2010, 19:38
Hey guys. I want to make the main chat roleplay chat.
I have that. But now I see the chat 2 times.
first: playername says: blabla
and also playername: blabla.
How to fix this? The non Rp chat is still here
pawn Код:
public OnPlayerText(playerid, text[])
{
new string[256];
new sendername[MAX_PLAYER_NAME];
format(string, sizeof(string), "%s Says: %s", sendername, text);
ProxDetector(20.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
return 1;
}
first: playername says: blabla
and also playername: blabla.
How to fix this? The non Rp chat is still here