11.09.2012, 06:44
well basically in my server i have a /changes cmd and there are too many items to list so how can i have it so when someone types /changes a dialog pops up allowing them to scroll through them all?
new mydialog[1612];
// Continue with strcat.
or
new mydialogstext[13][] = {
"1. Free Condoms now",
"2. Added Rape ",
"3. Added Anti Hack.",
"4. Gay detection",
"5. Added Porn Zones",
"6. Added Popcorn",
"7. Korean not allowed system",
"8. USA ",
"9. Spanish language",
"10.pooping",
"11. Plump ",
"12. Banana",
};
//continue with strcat...
#define DIALOG_CHANGES 1
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/changes", true))
{
ShowPlayerDialog(playerid, DIALOG_CHANGES, DIALOG_STYLE_LIST, "Changes", "Item_1\ntem_2\ntem_3", "Select", "Close");
}
return 1;
}