26.06.2017, 07:00
hey guys, i've got this cmd...but I can't figure out how to make the title of the dialog include a name..
how do i make the title say showing stats etc for (name)?
here's the cmd:
thanks in advance!
how do i make the title say showing stats etc for (name)?
here's the cmd:
Код:
CMD:stats(playerid, params[]) { new string[500]; format(string,sizeof(string),"[General] - [Money: %d] | [Deaths: %d] | [Kills: %d] | [Score: %d] | [Admin Level: %d]",PlayerInfo[playerid][pCash],PlayerInfo[playerid][pDeaths],PlayerInfo[playerid][pKills],PlayerInfo[playerid][pScore],PlayerInfo[playerid][pAdmin]); ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "stats", string, "kill", ""); return 1; }