Dialog help
#1

Hello, peoples of Samp forums. I have a small issue with my dialog. Ive made a stats dialog its working perfect but i want the name at the top as a title.

this is the photo of the stats right now imgur.com/2Bm4UQU




this is my code
pawn Код:
new titlestring[250];
        format(titlestring, sizeof(titlestring), "Displaying Stats of %s");
        ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYLE_LIST, titlestring, string2,"Close","",GetPlayerNameEx(targetid));
        SendClientMessageEx(playerid, COLOR_GRAD1,coordsstring);

Sulution :
pawn Код:
new titlestring[250], pName[MAX_PLAYER_NAME];GetPlayerName(playerid, pName, sizeof(pName));format(titlestring, sizeof(titlestring), "Displaying Stats of %s", pName);ShowPlayerDialog(playerid,DIALOG_STATS,DIALOG_STYLE_LIST, titlestring, string2, "Close", "");SendClientMessageEx(playerid, COLOR_GRAD1, coordsstring);
Reply


Messages In This Thread
Dialog help [SOLVED] - by daniscape - 27.12.2013, 10:29
Re: Dialog help - by Konstantinos - 27.12.2013, 10:37
Re: Dialog help - by J4mmyHD - 27.12.2013, 10:37
Re: Dialog help - by daniscape - 27.12.2013, 10:46

Forum Jump:


Users browsing this thread: 1 Guest(s)