leaderboardState: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
||
Line 14: | Line 14: | ||
|r1= [[Number]] | |r1= [[Number]] | ||
|x1= < | |x1= <sqf>leaderboardState ["TT01", 1234, [5,6,7,8]]</sqf> | ||
|seealso= [[leaderboardsRequestUploadScoreKeepBest]] [[leaderboardsRequestUploadScore]] | |seealso= [[leaderboardsRequestUploadScoreKeepBest]] [[leaderboardsRequestUploadScore]] |
Revision as of 10:24, 13 May 2022
Description
- Description:
- returns state of the board with given name. 0: Busy (async. operation in progress); 1: Async. operation ended with success; 2: Async. operation ended with error; 3: Invalid board (bad board name, not initialized etc.).
- Groups:
- Leaderboards
Syntax
- Syntax:
- leaderboardState boardname
- Parameters:
- boardname: String -
- Return Value:
- Number
Examples
- Example 1:
- leaderboardState ["TT01", 1234, [5,6,7,8]]
Additional Information
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