I need a function for my script. I have a sql table, and i've made a function that prints all names insterted in this table. What I want to do with this table, is:
When you say !scores, you will get a textbox with Player Name, storage1, storage2. Ive made everything, but I can only get it to print the names, because i've yet to learn how to use inpairs/ipars in looping.
This is a pure example of how I want the loop to be outputed:
Thanks for the help.
When you say !scores, you will get a textbox with Player Name, storage1, storage2. Ive made everything, but I can only get it to print the names, because i've yet to learn how to use inpairs/ipars in looping.
This is a pure example of how I want the loop to be outputed:
PHP:
Scores:
Faen 1 7
Lol 2 3
Noob 3 10
Ron 1 6
Thanks for the help.