[lua]openfeint.setHighScore( { leaderboardID=“abc123”,
score=82342,
displayText=“82,342 pts” } )[/lua] But the useful OpenFeint wrapper code: [lua]safeopenfeint.setHighScore( lbID, points )
–which calls to…
function setHighScore( leaderboardId, score )
if not isOFSupported then return end
openfeint.setHighScore(leaderboardId, score)
end[/lua] uses individual arguments. ***To make it accept a table, how would you write the call in main.lua?***
[lua]safeopenfeint.setHighScore( { leaderboardID=lbID, score=points} )[/lua] and then in the safeopenfeint module:
[lua]function setHighScore( {} )
if not isOFSupported then return end