26.03.2013, 05:52
Well, I follow the guide about OnPlayerText, but it shows black in the chat! How to fix it?
pawn Код:
public OnPlayerText(playerid, text[])
{
new name[MAX_PLAYER_NAME], msg[128];
GetPlayerName(playerid, name, sizeof(name));
format(msg, sizeof(msg), "%s: [%d] %s", name, playerid, text);
SendClientMessageToAll(playerid, msg);
return 0;
}