leaderboardInit: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3")
m (Text replacement - "\|x([0-9])= <sqf>([^\/: ]+)([^;])<\/sqf>" to "|x$1= <sqf>$2$3;</sqf>")
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


|arma3
|game1= arma3
 
|version1= 1.56
|1.56


|gr1= Leaderboards
|gr1= Leaderboards
Line 9: 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=
 
|x3=
 
|x4=
 
|x5=
 
|x6=
 
|x7=
 
|x8=
 
|x9=
 
|x10=


|seealso= [[leaderboardDeInit]],[[leaderboardGetRows]],[[leaderboardRequestRowsFriends]],[[leaderboardRequestRowsGlobal]],[[leaderboardRequestRowsGlobalAroundUser]],[[leaderboardsRequestUploadScore]],[[leaderboardsRequestUploadScoreKeepBest]],[[leaderboardState]]
|seealso= [[leaderboardDeInit]] [[leaderboardGetRows]] [[leaderboardRequestRowsFriends]] [[leaderboardRequestRowsGlobal]] [[leaderboardRequestRowsGlobalAroundUser]] [[leaderboardsRequestUploadScore]] [[leaderboardsRequestUploadScoreKeepBest]] [[leaderboardState]]
}}
}}

Latest revision as of 23: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