Hi guys, does anyone knows how to make an option box that is taken from the SQL. Example under the char table of SQL. When I click an npc dialog will be "Please choose the player that you want." then an option box will appear that has all the player in it, this is in order for me to choose a player.
In the dialog box:
Zeus
Poseidon
Hades
Then the option or menu box should be same as in the dialog box
Zeus
Poseidon
Hades
Now if theres a new player named Hermes. This should be added in the dialog box and in the menu bix automatically.
Note all players that will appear in the dialog box and menu box should be online players only. If they are offline. There name will be removed automatically and once that player went online there name should appear again automatically.
I hope someone understand what I am trying to say. Please help with this. Thanks
Hi guys, does anyone knows how to make an option box that is taken from the SQL. Example under the char table of SQL. When I click an npc dialog will be "Please choose the player that you want." then an option box will appear that has all the player in it, this is in order for me to choose a player.
In the dialog box:
Zeus
Poseidon
Hades
Then the option or menu box should be same as in the dialog box
Zeus
Poseidon
Hades
Now if theres a new player named Hermes. This should be added in the dialog box and in the menu bix automatically.
Note all players that will appear in the dialog box and menu box should be online players only. If they are offline. There name will be removed automatically and once that player went online there name should appear again automatically.
I hope someone understand what I am trying to say. Please help with this. Thanks
Share this post
Link to post
Share on other sites