admin: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "\{\{GameCategory\|(arma[0123])\|New[ _]Scripting[ _]Commands[ _]List\}\}" to "{{GameCategory|$1|New Scripting Commands}}") |
||
Line 52: | Line 52: | ||
<h3 style='display:none'>Bottom Section</h3> | <h3 style='display:none'>Bottom Section</h3> | ||
{{GameCategory|arma3|New Scripting Commands | {{GameCategory|arma3|New Scripting Commands}} | ||
{{GameCategory|arma3|Scripting Commands}} | {{GameCategory|arma3|Scripting Commands}} | ||
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]] | [[Category:Command_Group:_Multiplayer|{{uc:{{PAGENAME}}}}]] |
Revision as of 21:56, 12 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