getLoginStatus

From Bohemia Interactive Community
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Get the client's current Cloud service login status.
Groups:
Argo

Syntax

Syntax:
getLoginStatus
Return Value:
Number - can be one of:
  •  0: Not logged in
  •  1: Logged in with a Bohemia Interactive account
  •  2: Logged in as guest
  • -1: Internal error

Examples

Example 1:
switch (getLoginStatus) do { case 0: { hint "Not logged" }; case 1: { hint "You are BI-approved, gooooood" }; case 2: { hint "Logged in as a Guest? 2, target that man!" }; case -1: { hint "Something went wrong" }; };

Additional Information

See also:
getClientState getClientStateNumber

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