20.03.2010, 21:32
Not sure, but try;
Did it work?
pawn Код:
new aname[MAX_PLAYER_NAME],string[256];
GetPlayerName(playerid, aname, sizeof(aname));
format(string, sizeof(string), "PM from %s: %s", aname, inputtext);
SendClientMessage(playerid,0x0ffffff, string);
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "You send to %s this message:\n %s", aname, inputtext);
ShowPlayerDialog(playerid, 444, DIALOG_STYLE_MSGBOX, "Message:",string, "Ok", "Close" );