[SUGGESTION]: Multiple GUI suggestions.
#1

Well guys,

the title of this topic basically explains my suggestion though I'll happily go into depth with the suggestions, in order to hopefully persuade the Developers here at SA:MP and ofcourse the people to support the idea.

Idea One

Moving on, the first idea on the list would be the option of multiple dialogs for example - If you had a list dialog open, and clicked on one of the options- A dialog could appear on top (over) of the list dialog. This may not sound like something that could improve SA:MP but it would make it a lot easier than closing dialogs, opening new ones - closing them and then reopening the previous. This could be linked using a simple parameter such as

pawn Код:
ShowPlayerDialog(playerid, dialogid,dialog_stlye, "title", "message", "button1", "button2", linked_dialog);
Usage
pawn Код:
ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Login","Please login","Login","Exit",12346);
Then once he presses login- Another dialog would appear but with that in the background.

Idea Two

My second idea was the repositioning of dialogs. Like above with the additional parameter another one could be added to allow this idea to take place. That parameter could work similarly to this:

pawn Код:
ShowPlayerDialog(playerid, dialogid,dialog_stlye, "title", "message", "button1", "button2", linked_dialog, bool:movable);
Usage
pawn Код:
ShowPlayerDialog(playerid,12345,DIALOG_STYLE_INPUT,"Login","Please login","Login","Exit",12346,true);
Then the player will be able to move the dialog around the screen or you could set it to false to stop him moving it. Another function for this suggestion would be to set the default position for a specific dialog.

pawn Код:
SetDialogPos(dialogid,Float:X,Float:Y,Float:Z);
This would basically set the default positioning for the specific dialog for example- If you wanted a dialog at the top left then you would use it like this:

pawn Код:
SetDialogPos(12345,13.0,14.0,15.0); // Co-ordinates not correct.
Idea Three

My third and final idea which I believe may have been suggested previously is the option of additional buttons. As well as having the option to add more buttons we should have the option to remove buttons for example we could create a dialog which doesn't have any buttons- Similarly to the Info Box ofcourse, but let's say with a List option at the top that says < BACK or FORWARD >.

Ofcourse like the other two, this could be done with another parameter for example:

pawn Код:
ShowPlayerDialog(playerid, dialogid,dialog_style, "title", "message", "button1", "button2", "button3", "button4", linked_dialog, bool:movable);
Usage:

pawn Код:
ShowPlayerDialog(playerid, 12345,dialog_style_input, "title", "message", "button1", "button2", "button3", "button4", 123456, false);
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)