hi,
so basically do this and it does display heads of the user opening the gui with the names of the columns of the database:
but when i change the code to SELECT name FROM Users all it gives me is one skull named name which is the column name?
does anyone know what this could be?
so basically do this and it does display heads of the user opening the gui with the names of the columns of the database:
code_language.skript:
create a gui with virtual chest inventory with 6 rows named "&6ᴛᴏᴘ ᴢᴏɪɴ ᴄᴏɪɴꜱ":
set {_slot} to 0
execute "SELECT * FROM Users" in {-sql} and store the result in {_output::*}
loop {_output::*}:
make gui slot {_slot} with skull of player named loop-value:
play sound "ui.button.click" at volume 1 at pitch 10 to player
add 1 to {_slot}
but when i change the code to SELECT name FROM Users all it gives me is one skull named name which is the column name?
does anyone know what this could be?