14.03.2013, 06:28
hello, i wonder how to create GUI MSGBOX STYLE, but i don't know how to make next line, because everything goes in one line
and /n it's not working, i want make something like this:
Код:
CMD:stats(playerid, params[]) { if(IsPlayerConnected(playerid)) { new admin = PlayerInfo[playerid][pAdminLevel]; new vip = PlayerInfo[playerid][pVIP]; new money = PlayerInfo[playerid][pCash]; new level = PlayerInfo[playerid][pScore]; new vw = PlayerInfo[playerid][pVw]; new interior = PlayerInfo[playerid][pInt]; new string[128],stats[1024]; format(string, sizeof string1, "{44A1D0}Level: {FFFFFF}[%d] {44A1D0}Money: {FFFFFF}[$%d] {44A1D0}AdminLevel: {FFFFFF}[$%d] {44A1D0}VIP: {FFFFFF}[$%d] {44A1D0}VW: {FFFFFF}[$%d] {44A1D0}Int: {FFFFFF}[$%d]", level,money,admin,vip,vw,interior); format(stats, sizeof stats, "%s", string); ShowPlayerDialog(playerid,3,DIALOG_STYLE_MSGBOX,"Your account:",stats,"Ok",""); } return 1; }