mirror of
https://github.com/indig0fox/Arma3-AttendanceTracker.git/
synced 2025-12-08 17:51:48 -06:00
add mission md5 hash as unique id, break out db connect ask, add world
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
_world = ( configfile >> "CfgWorlds" >> worldName );
|
||||
_author = getText( _world >> "author" );
|
||||
_name = getText ( _world >> "description" );
|
||||
|
||||
_source = configSourceMod ( _world );
|
||||
|
||||
_workshopID = '';
|
||||
|
||||
{
|
||||
if ( ( _x#1 ) == _source ) then {
|
||||
_workshopID = _x#7;
|
||||
break;
|
||||
};
|
||||
} foreach getLoadedModsInfo;
|
||||
|
||||
// [_name, _author, _workshopID];
|
||||
|
||||
[
|
||||
["worldName", _name],
|
||||
["author", _author],
|
||||
["worldSize", worldSize],
|
||||
["workshopID", _workshopID]
|
||||
];
|
||||
Reference in New Issue
Block a user