@MikeHart,
Sorry about the off topic. I am trying to implement the score list that you posted in the now closed code forum and I can’t reply there.
My score list is in reverse order meaning lowest score is best would i change the code below to show
[code] if ts.points >p then /[code]
[code]
function scoreList:CheckScore§
–****************************************************************
print ("#scoreList.list:"…#scoreList.list)
local i = 0
for i = 1,#scoreList.list,1 do
local ts = scoreList.list[i]
if ts.points < p then
return i
end
end
return 0
end
/[code]
or how else would I achieve that?
Thanks [import]uid: 8192 topic_id: 1763 reply_id: 5817[/import]