15.03.2015, 18:35
Using Strings in a MSGBOX [Not Adjusting MSGBOX Size]
-------------------------------------------------------------------------------------------------------------------
I'm using a MSGBOX dialog to display the MDC I made. The problem is, I'm using strings for every part of the dialog and I don't think pawno can adjust the size of the dialog to the amount of characters because I'm using strings and the characters aren't actually there. The MSGBox isn't wide enough, any solution?
Picture of the MSGBOX:
http://i.imgur.com/ElsiVLp.jpg
Code:
-------------------------------------------------------------------------------------------------------------------
I'm using a MSGBOX dialog to display the MDC I made. The problem is, I'm using strings for every part of the dialog and I don't think pawno can adjust the size of the dialog to the amount of characters because I'm using strings and the characters aren't actually there. The MSGBox isn't wide enough, any solution?
Picture of the MSGBOX:
http://i.imgur.com/ElsiVLp.jpg
Code:
pawn Код:
new record[40];
format(record, sizeof(record), "%s's Criminal Record.", PlayerName(id));
ShowPlayerDialog(playerid, DIALOG_CRIMINALRECORD, DIALOG_STYLE_MSGBOX, record, "Blablabla", "Exit", "");