mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
3c753d74ec
* Also added the ability to copy your own rangecards * Reference: https://github.com/acemod/ACE3/pull/1118
19 lines
460 B
Plaintext
19 lines
460 B
Plaintext
/*
|
|
* 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
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
(GVAR(ammoClassCopy) != "" && GVAR(magazineClassCopy) != "" && GVAR(weaponClassCopy) != "" && !GVAR(RangeCardOpened) && ("ACE_RangeCard" in (uniformItems ACE_player)) || ("ACE_RangeCard" in (vestItems ACE_player)))
|