mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
17 lines
478 B
Plaintext
17 lines
478 B
Plaintext
private ["_item"];
|
|
_item = _this;
|
|
_return = "";
|
|
|
|
if ([_item, "CfgVehicles"] call EPOCH_fnc_isAny) then {
|
|
_return = getText(configfile >> "CfgVehicles" >> _item >> "picture");
|
|
} else {
|
|
if ([_item, "CfgWeapons"] call EPOCH_fnc_isAny) then {
|
|
_return = getText(configfile >> "CfgWeapons" >> _item >> "picture");
|
|
} else {
|
|
if ([_item, "CfgMagazines"] call EPOCH_fnc_isAny) then {
|
|
_return = getText(configfile >> "CfgMagazines" >> _item >> "picture");
|
|
};
|
|
};
|
|
};
|
|
_return
|