24.10.2017, 16:09
Hello, i'm trying to disable the players main/global chat. I have made this so far:
But, this happens:
PHP код:
public OnPlayerText(playerid, text[])
{
new string[150];
format(string, sizeof(string), "%s says: %s", PlayerName(playerid), text);
ProxDetector(30.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
SetPlayerChatBubble(playerid,string,COLOR_WHITE,5.0,5000);
return 1;
}