SA-MP Forums Archive
Dialog help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialog help (/showthread.php?tid=175168)



Dialog help - Flabsch - 08.09.2010

How can i Put that:

new name[MAX_PLAYER_NAME], string[256], string2[256],string3[256];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "| Stats of[%s] |", name);
format(string2, sizeof(string2), "[Kills: %d] [Deaths: %d] [Ratio: %0.2f] ",Player[playerid][Kills], Player[playerid][Deaths],Float:Player[playerid][Kills]/Float:Player[playerid][Deaths]);
format(string3, sizeof(string3), "[Cash: %d] [Score: %d] [Adminlevel: %d]",GetPlayerMoney(playerid),GetPlayerScore(playerid ),Player[playerid][admin]);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
SendClientMessage(playerid, COLOR_WHITE, string2);
SendClientMessage(playerid, COLOR_WHITE, string3);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|__________________________________________|" );

in a dialog message box?

thanks for help

Flabsch


Re: Dialog help - [Lsrcr]Rafa - 08.09.2010

dude what u need i can't understand ?? o_0
please explain if i can help u !


Re: Dialog help - Flabsch - 08.09.2010

okay i don't want a client message i want that the message is in a dialog box.


Re: Dialog help - [Lsrcr]Rafa - 08.09.2010

hmmm write it again please i can't understand if u mean u want to stay some text in that dialog menu just write it here ill help u !


Re: Dialog help - Flabsch - 08.09.2010

At the moment comes that:
http://www.pic-upload.de/view-700209...p-002.png.html

But i want that the stats are shown like that:
http://www.pic-upload.de/view-700212...p-003.png.html



how can i make for the x the level,name...


Re: Dialog help - Flabsch - 09.09.2010

Is that possible?