leaderboardInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(11 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Initialize the leaderboard structure for board with given name. Returns true if board is already initialized.
|descr= Initialize the leaderboard structure for board with given name. Returns true if board is already initialized.


|s1= [[leaderboardInit]] boardName
|s1= [[leaderboardInit]] boardName


|p1= boardName: [[String]]
|p1= boardName: [[String]]


|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>[[leaderboardInit]] "TT01"</code>
|x1= <sqf>leaderboardInit "TT01";</sqf>


|x2=
|seealso= [[leaderboardDeInit]] [[leaderboardGetRows]] [[leaderboardRequestRowsFriends]] [[leaderboardRequestRowsGlobal]] [[leaderboardRequestRowsGlobalAroundUser]] [[leaderboardsRequestUploadScore]] [[leaderboardsRequestUploadScoreKeepBest]] [[leaderboardState]]
 
|x3=
 
|x4=
 
|x5=
 
|x6=
 
|x7=
 
|x8=
 
|x9=
 
|x10=
 
|seealso= [[leaderboardDeInit]],[[leaderboardGetRows]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]]
}}
}}

Latest revision as of 22:43, 28 June 2022

Hover & click on the images for description

Description

Description:
Initialize the leaderboard structure for board with given name. Returns true if board is already initialized.
Groups:
Leaderboards

Syntax

Syntax:
leaderboardInit boardName
Parameters:
boardName: String
Return Value:
Boolean

Examples

Example 1:
leaderboardInit "TT01";

Additional Information

See also:
leaderboardDeInit leaderboardGetRows leaderboardRequestRowsFriends leaderboardRequestRowsGlobal leaderboardRequestRowsGlobalAroundUser leaderboardsRequestUploadScore leaderboardsRequestUploadScoreKeepBest leaderboardState

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