mirror of
https://github.com/Defent/DMS_Exile.git
synced 2024-08-30 16:52:12 +00:00
74f562de7e
Renamed preInit/postInit All config.sqf options setup and named (for now :P ) Removed "tools" from FillCrate since it was just addItemCargoGlobal as well FindSafePos adjustments + renames IsNearWater function (from WAI) Add "_markers" array to MissionStatusCheck params (planned implemention: [_dot,_circle] for the ability to rename a marker after mission completion. EG: "COMPLETED: Weapons Crate" for X seconds) Created SelectMagazine fnc Created files for a couple TODO functions
10 lines
203 B
Plaintext
10 lines
203 B
Plaintext
private["_result","_ammoArray"];
|
|
|
|
_result = "";
|
|
_ammoArray = getArray (configFile >> "CfgWeapons" >> _this >> "magazines");
|
|
|
|
if (count _ammoArray > 0) then {
|
|
_result = _ammoArray select 0;
|
|
};
|
|
|
|
_result |