getCurrentPlayerLevel

From Bohemia Interactive Community
Revision as of 18:53, 7 December 2023 by Lou Montana (talk | contribs) (Page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Get the level of the currently logged client.
Groups:
Argo

Syntax

Syntax:
getCurrentPlayerLevel
Return Value:
Number - the current player's level, or -1 if servers are unreachable

Examples

Example 1:
if (getCurrentPlayerLevel > 9) then { hint "Wow, you're good!"; };

Additional Information

See also:
getPlayerLevel isPlayerSupporter

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