BIS fnc admin: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[[Cc]ategory:[ _]?Arma[ _]3:[ _]([^|]*)[ _]?\|.*\]\]" to "{{GameCategory|arma3|$1}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 7: | Line 6: | ||
|gr1 = Multiplayer |GROUP1= | |gr1 = Multiplayer |GROUP1= | ||
| 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= | | 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''' |SYNTAX= | | call '''BIS_fnc_admin''' |SYNTAX= | ||
Line 23: | Line 20: | ||
|exec= call |= Execution By (defaults to [[call]] if omitted) | |exec= call |= Execution By (defaults to [[call]] if omitted) | ||
|x1= <code>_adminState = [[call]] [[BIS_fnc_admin]];</code> |EXAMPLE1= | |x1= <code>_adminState = [[call]] [[BIS_fnc_admin]];</code> |EXAMPLE1= | ||
Revision as of 22:35, 16 January 2021
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:
- Multiplayer
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