30.07.2016, 06:23
Hello, I am having a small concern about listitem. First off, I'm loading something to the DIALOG_STYLE_TABLIST, from MySQL (the weapons that the character carries), and there are sometimes 2 weapons and sometimes 5. They all show up good on the list, but how do I use the "listitem" parameter without knowing how much things do I have in the list, as the number changes practically everytime. Can I somehow loop through listitem?