Problem with PM system.
#1

Hey, i have a little problem.
When i write a PM with my script, its do not show my name.

My name in the game is SOAD, and when i write a PM it shows only
PM from S: [.....]

there is my litle code :>
pawn Код:
new aname[MAX_PLAYER_NAME],string[256];
            GetPlayerName(playerid, aname, sizeof(aname));
            GetPlayerName(playerid, aname, sizeof(playerid));
            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" );

Reply


Messages In This Thread
Problem with PM system. - by _soad_ - 20.03.2010, 21:21
Re: Problem with PM system. - by Jeffry - 20.03.2010, 21:32
Re: Problem with PM system. - by _soad_ - 20.03.2010, 21:37
Re: Problem with PM system. - by Jeffry - 21.03.2010, 08:34
Re: Problem with PM system. - by Kyosaur - 21.03.2010, 08:40
Re: Problem with PM system. - by _soad_ - 21.03.2010, 09:41
Re: Problem with PM system. - by Jeffry - 21.03.2010, 10:19

Forum Jump:


Users browsing this thread: 1 Guest(s)