admin: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3dev |= Game name |1.69|= Game version |exec= server...") |
Killzone Kid (talk | contribs) (see also) |
||
Line 12: | Line 12: | ||
* <tt>1</tt> - client is admin that is voted in | * <tt>1</tt> - client is admin that is voted in | ||
* <tt>2</tt> - client is admin that is logged in | * <tt>2</tt> - client is admin that is logged in | ||
In all other cases it returns 0.|= Description | In all other cases it returns 0. To self check the admin state of a local client, use [[BIS_fnc_admin]]. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 10:36, 19 April 2017
Description
- Description:
- This is dedicated server command, which queries the admin state of any client on the network by their client (owner) id. Possible results are:
- 1 - client is admin that is voted in
- 2 - client is admin that is logged in
- Groups:
- Uncategorised
Syntax
- Syntax:
- admin ownerID
- Parameters:
- ownerID: Number - clientOwner id
- Return Value:
- Number - admin state of given client:
- 0 - client is not an admin
- 1 - client is admin that is voted in
- 2 - client is admin that is logged in
Examples
Additional Information
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
[[Category:Introduced with arma3dev version 1.69]][[ Category: arma3dev: New Scripting Commands | ADMIN]][[ Category: arma3dev: Scripting Commands | ADMIN]]