04.09.2018, 03:49
Enum is likely to be better than the arrays below, PVar is likely to be too slow for this implementation.
One would be for tracking the dialog, the other would be checking the entry they clicked on.
I myself haven't worked with Dialogs much, but there'll definitely be a way of doing what you want.
Another random option, could be a simple 'confirm' dialog after those sort of dialogs, showing what they have chosen to receive and giving them the option to cancel it. (This would likely be a more simple option)
Код:
new LastClickedDialog[MAX_PLAYERS], LastClickedEntry[MAX_PLAYERS];
I myself haven't worked with Dialogs much, but there'll definitely be a way of doing what you want.
Another random option, could be a simple 'confirm' dialog after those sort of dialogs, showing what they have chosen to receive and giving them the option to cancel it. (This would likely be a more simple option)