16.05.2015, 19:41
Hii .. it's a little bit hard to explain, so I'll do my best and please if you dont understand comment and I'll try to explain more.
While making a system I came to a point where I have to list items from a Database table collumn into a Dialog (type list) then I need to react depending on which item the player has choosen .. the problem is that all I still have in OnDialogResponse is the index of the choosen dialog item (listitem) .. if someone have an idea .. please post it .. if you dont understand something please post and I'll try to explain more.
I thought of creating an array at the time of showing the dialog and save the primary keys on it in the order of apparition but the problem I was facing is the size of this array .. I also believe there is an easier way as I saw this working perfectly in other servers.
Thanks
While making a system I came to a point where I have to list items from a Database table collumn into a Dialog (type list) then I need to react depending on which item the player has choosen .. the problem is that all I still have in OnDialogResponse is the index of the choosen dialog item (listitem) .. if someone have an idea .. please post it .. if you dont understand something please post and I'll try to explain more.
I thought of creating an array at the time of showing the dialog and save the primary keys on it in the order of apparition but the problem I was facing is the size of this array .. I also believe there is an easier way as I saw this working perfectly in other servers.
Thanks