Arma 3 Scripting

admin

  • Server only
  • Arma 3 v1.70

Command · Markdown · JSON · original wiki page

Description

This is dedicated server command, which queries the admin state of any client on the network by their client (owner) id.

Note

To self-check the admin state of a local client, use BIS_fnc_admin.

Syntax

admin ownerID

Parameters:

Returns: Number - admin state of given client:

Examples

Example 1

private _isLoggedInAdmin = admin 3 == 2;

Example 2

private _adminState = admin owner unit1;

See also

serverCommand · serverCommandAvailable · owner · clientOwner · remoteExecutedOwner