admin: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr([0-9]+) = " to "|gr$1= ")
m (Text replacement - " \| *([^=\| ]+) * \|p1=" to " |s1= $1 |p1=")
Line 14: Line 14:
In all other cases it returns 0. To self check the admin state of a local client, use [[BIS_fnc_admin]].
In all other cases it returns 0. To self check the admin state of a local client, use [[BIS_fnc_admin]].


| '''admin''' ownerID
|s1=  '''admin''' ownerID


|p1= ownerID: [[Number]] - [[clientOwner]] id
|p1= ownerID: [[Number]] - [[clientOwner]] id

Revision as of 23:45, 12 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Multiplayer

Syntax

Syntax:
admin ownerID
Parameters:
ownerID: Number - clientOwner id
Return Value:
Return value needed

Examples

Example 1:
_isLoggedInAdmin = admin 3 == 2;
Example 2:
_adminState = admin owner unit1;

Additional Information

See also:
serverCommandserverCommandAvailableownerclientOwnerremoteExecutedOwner

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