BIS fnc admin: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "[[server.cfg#" to "[[Arma 3: Server Config File#") |
||
Line 12: | Line 12: | ||
|r1= [[Number]] - admin state of current client: | |r1= [[Number]] - admin state of current client: | ||
* 0 - client is not an admin | * 0 - client is not an admin | ||
* 1 - client is admin that is [[ | * 1 - client is admin that is [[Arma 3: Server Config File#Voted_In_Admin|voted in]] | ||
* 2 - client is admin that is [[ | * 2 - client is admin that is [[Arma 3: Server Config File#Logged_In_Admin|logged in]] | ||
|x1= <sqf>private _adminState = call BIS_fnc_admin;</sqf> | |x1= <sqf>private _adminState = call BIS_fnc_admin;</sqf> |
Latest revision as of 13:40, 17 May 2024
Description
- Description:
- Returns the admin state of a client the function is called on. Complements 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:
Examples
- Example 1:
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