27.12.2013, 10:29
(
Последний раз редактировалось daniscape; 09.03.2014 в 13:46.
Причина: Solved
)
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
Sulution :
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);