mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Common - Add FUNC(hasZeusAccess)
(#9252)
* add fnc_hasZeusAccess * header * Update addons/common/functions/fnc_hasZeusAccess.sqf --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
parent
1b8c56f0be
commit
8032ccacfc
@ -105,6 +105,7 @@ PREP(handleModifierKey);
|
|||||||
PREP(handleModifierKeyUp);
|
PREP(handleModifierKeyUp);
|
||||||
PREP(hasItem);
|
PREP(hasItem);
|
||||||
PREP(hasMagazine);
|
PREP(hasMagazine);
|
||||||
|
PREP(hasZeusAccess);
|
||||||
PREP(headBugFix);
|
PREP(headBugFix);
|
||||||
PREP(hideUnit);
|
PREP(hideUnit);
|
||||||
PREP(interpolateFromArray);
|
PREP(interpolateFromArray);
|
||||||
|
19
addons/common/functions/fnc_hasZeusAccess.sqf
Normal file
19
addons/common/functions/fnc_hasZeusAccess.sqf
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#include "script_component.hpp"
|
||||||
|
/*
|
||||||
|
* Author: LinkIsGrim
|
||||||
|
* Check if current player has Zeus access
|
||||||
|
*
|
||||||
|
* Arguments:
|
||||||
|
* None
|
||||||
|
*
|
||||||
|
* Return Value:
|
||||||
|
* Has Zeus <BOOL>
|
||||||
|
*
|
||||||
|
* Example:
|
||||||
|
* call ace_common_fnc_hasZeusAccess
|
||||||
|
*
|
||||||
|
* Public: Yes
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Use of player is intentional
|
||||||
|
!isNull getAssignedCuratorLogic player // return
|
Loading…
Reference in New Issue
Block a user