admin: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|M...) |
||
Line 36: | Line 36: | ||
| [[serverCommand]], [[serverCommandAvailable]], [[owner]], [[clientOwner]], [[remoteExecutedOwner]] | | [[serverCommand]], [[serverCommandAvailable]], [[owner]], [[clientOwner]], [[remoteExecutedOwner]] | ||
| | | | ||
}} | }} | ||
Revision as of 10:28, 18 January 2021
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: In all other cases it returns 0. To self check the admin state of a local client, use BIS_fnc_admin.
- Groups:
- Multiplayer
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