MySQL in a dialog
#1

I am currently trying to get a name of a Group into a Dialog (List).

This is my current code:

pawn Код:
new showit[800];
    //new a1[128], a2[128], a3[128], a4[128], a5[128];
    format(showit, sizeof(showit), "%s\n%s\n%s\n%s\n%s\n", AInfo[1][aName], AInfo[2][aName], AInfo[3][aName], AInfo[4][aName], AInfo[5][aName]);
    ShowPlayerDialog(playerid, aselect, DIALOG_STYLE_LIST, "Select a group:", showit, "Select", "Cancel");
I type the command in-game, and it pops up in a large dialog, however there are no rows - Plus, when you click the EMPTY dialog, GTA crashes.

What is wrong with that command?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)