11.03.2016, 17:14
i have a problem in OnPlayerText
i think as before i saw it was send me it player black
PHP Code:
public OnPlayerText(playerid, text[])
{
new chat[200], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(chat, sizeof(chat), "{6B828A}(({FFFFFF} %s(%d): {009900}%s{FFFFFF} {6B828A}))", name, playerid, text);
SendClientMessageToAll(0xFFFFFFFF, chat);
return 0;
}