(Created page with "=Attributes= {{ScriptFunction|int|Level|;|The level of current activity.|5= Space.Activity.FinishActivity(99956,100,0,function (rank)<br> Space.Log(ra...") |
(No difference)
|
The level of current activity.
Space.Log(rank.Level)
The AllTimeLeaderboard of current activity.
local leaderBoard=rank.AllTimeLeaderboard
for i=1,#leaderBoard do
Space.Log(leaderBoard[i].Rank)
Space.Log(leaderBoard[i].Score)
Space.Log(leaderBoard[i].Username)
end
The daily Leaderboard of current activity.
local leaderBoard=rank.DailyLeaderboard
for i=1,#leaderBoard do
Space.Log(leaderBoard[i].Rank)
Space.Log(leaderBoard[i].Score)
Space.Log(leaderBoard[i].Username)
end
The AllTimePlayerRecord of current activity.
local record=rank.AllTimePlayerRecord
Space.Log(record.Rank)
Space.Log(record.Score)
Space.Log(record.Username)
The daily player records of current activity.
local record=rank.DailyPlayerRecord
Space.Log(record.Rank)
Space.Log(record.Score)
Space.Log(record.Username)
|