25.06.2013, 17:22
try this
Код:
public OnPlayerText(playerid, text[]) { new message[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(message, sizeof(message), "%s(%i): {ffffff}%s", name, playerid, text); SendClientMessageToAll(GetPlayerColor(playerid), message); return 0; }