BIS fnc admin: Difference between revisions
Jump to navigation
Jump to search
m (released in 1.70) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Returns the admin state of a client the function is called on. Compliments [[admin]] script command and used for self check on a local client.|= | | Returns the admin state of a client the function is called on. Compliments [[admin]] script command and used for self check on a local client.|DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| call '''BIS_fnc_admin''' |= | | call '''BIS_fnc_admin''' |SYNTAX= | ||
|p1= |= Parameter 1 | |p1= |= Parameter 1 | ||
Line 18: | Line 18: | ||
* 0 - client is not an admin | * 0 - client is not an admin | ||
* 1 - client is admin that is [[server.cfg#Voted_In_Admin|voted in]] | * 1 - client is admin that is [[server.cfg#Voted_In_Admin|voted in]] | ||
* 2 - client is admin that is [[server.cfg#Logged_In_Admin|logged in]] |= | * 2 - client is admin that is [[server.cfg#Logged_In_Admin|logged in]] |RETURNVALUE= | ||
|exec= call |= Execution By (defaults to [[call]] if omitted) | |exec= call |= Execution By (defaults to [[call]] if omitted) | ||
Line 27: | Line 27: | ||
| [[admin]] |= | | [[admin]] |SEEALSO= | ||
}} | }} |
Revision as of 11:26, 7 April 2019
Description
- Description:
- Returns the admin state of a client the function is called on. Compliments admin script command and used for self check on a local client.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- call BIS_fnc_admin
- Return Value:
- Number - admin state of current client:
Examples
- Example 1:
_adminState = call BIS_fnc_admin;
Additional Information
- See also:
- admin
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