leaderboardGetRows: Difference between revisions
Jump to navigation
Jump to search
m (1.56) |
m (template:command argument fix) |
||
Line 11: | Line 11: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns an array with values for the given leaderboard, the array is in format: <nowiki>[[player1Name, score, rank], [player2Name, score, rank], [player3Name, score, rank] ... ]</nowiki>; This can be called after the one of the row request function has been called and successfully finished! |= | | Returns an array with values for the given leaderboard, the array is in format: <nowiki>[[player1Name, score, rank], [player2Name, score, rank], [player3Name, score, rank] ... ]</nowiki>; This can be called after the one of the row request function has been called and successfully finished! |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[leaderboardGetRows]] boardName |= | | [[leaderboardGetRows]] boardName |SYNTAX= | ||
|p1= boardName: [[String]]|= | |p1= boardName: [[String]]|PARAMETER1= | ||
| [[Array]] |= | | [[Array]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[leaderboardGetRows]] "TT01"</code>|= | |x1= <code>[[leaderboardGetRows]] "TT01"</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x2= |= | |x2= |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x3= |= | |x3= |EXAMPLE3= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x4= |= | |x4= |EXAMPLE4= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x5= |= | |x5= |EXAMPLE5= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x6= |= | |x6= |EXAMPLE6= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x7= |= | |x7= |EXAMPLE7= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x8= |= | |x8= |EXAMPLE8= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x9= |= | |x9= |EXAMPLE9= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x10= |= | |x10= |EXAMPLE1=0 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|mp= - |= Multiplayer Behaviour | |mp= - |= Multiplayer Behaviour | ||
| [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |= | | [[leaderboardDeInit]],[[leaderboardInit]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]] |SEEALSO= | ||
}} | }} |
Revision as of 14:42, 7 April 2019
Description
- Description:
- Returns an array with values for the given leaderboard, the array is in format: [[player1Name, score, rank], [player2Name, score, rank], [player3Name, score, rank] ... ]; This can be called after the one of the row request function has been called and successfully finished!
- Multiplayer:
- -
- Groups:
- Uncategorised
Syntax
- Syntax:
- leaderboardGetRows boardName
- Parameters:
- boardName: String
- Return Value:
- Array
Examples
- Example 1:
leaderboardGetRows "TT01"
Additional Information
- See also:
- leaderboardDeInitleaderboardInitleaderboardRequestRowsFriendsleaderboardRequestRowsGloballeaderboardRequestRowsGlobalAroundUserleaderboardsRequestUploadScoreleaderboardsRequestUploadScoreKeepBestleaderboardState
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note