01.08.2017, 19:24
Quote:
Any reason why this happens? I am using the exact same code prefix as shown in your example. My other dialog using a similar prefix is bugged too.
The shown object model isn't the one I'm using - it's fucked up for some reason. http://i.imgur.com/wmG8yJi.png This is what it should look like: http://i.imgur.com/0HFhxZT.png Code:
inline ToyStoreList(pid, dialogid, response, listitem, string:inputtext[]) { // handlers here } new sQuery [ 2048 ] ; for ( new i; i < sizeof ( Attachments ); i ++ ) { format ( sQuery, sizeof ( sQuery ), "%s%i\t%s\n", sQuery, Attachments [ i ] [ attach_model ], Attachments [ i ] [ attach_name ]) ; } Dialog_ShowCallback(playerid, using inline ToyStoreList, DIALOG_STYLE_PREVIEW_MODEL, "Attachments Store", sQuery, "Select", "Cancel"); |