I am having trouble getting the rows to show now, I looked at Jakov's post and managed to get it working one time. But when I went to add an extra row it will not show now.
PHP Code:
this.items = {
{"Red Sword", 100, "Red-Sword-icon.gif"},
{"Flintlock Pistol", 500, "FlintLock-icon.gif"},
{"Blue Sword", 250, "Bluesword-icon.gif"}
};
clearrows();
for(temp.i : this.items){
addrow(temp.n, temp.i[0]);
temp.n ++;
}
setselectedrow(0);
function items.onSelect(temp.i){
Price.text = this.items[temp.i][1];
}
the entire script is
http://pastebin.com/ykGNj85y if it can help to show what I am having trouble with.