mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
429 B
Plaintext
23 lines
429 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Authors: Ruthberg
|
|
* Tests if the Range Card copy can be shown
|
|
*
|
|
* Arguments:
|
|
* Nothing
|
|
*
|
|
* Return Value:
|
|
* canShow <BOOL>
|
|
*
|
|
* Example:
|
|
* [] call ace_rangecard_fnc_canShowCopy
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
GVAR(ammoClassCopy) != "" &&
|
|
GVAR(magazineClassCopy) != "" &&
|
|
GVAR(weaponClassCopy) != "" &&
|
|
!GVAR(RangeCardOpened) &&
|
|
"ACE_RangeCard" in ([ACE_player] call EFUNC(common,uniqueItems))
|