BIS fnc admin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Comments" to "|Comments=")
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Multiplayer |GROUP1=")
Line 5: Line 5:


|1.70|Game version=
|1.70|Game version=
|gr1 = Multiplayer |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 00:58, 10 October 2020

Hover & click on the images for description

Description

Description:
Returns the admin state of a client the function is called on. Compliments admin script command and used for self check on a local client.
Execution:
call
Groups:
Multiplayer

Syntax

Syntax:
call BIS_fnc_admin
Return Value:
Number - admin state of current client:
  • 0 - client is not an admin
  • 1 - client is admin that is voted in
  • 2 - client is admin that is logged in

Examples

Example 1:
_adminState = call BIS_fnc_admin;

Additional Information

See also:
admin

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

Bottom Section