mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
check if ddls are present on mission start
This commit is contained in:
parent
ad287d3d23
commit
708a2aa374
@ -188,3 +188,14 @@ GVAR(OldPlayerWeapon) = currentWeapon ACE_player;
|
||||
// Players can always interact with passengers of the same vehicle
|
||||
{!((_this select 0) isEqualTo (_this select 1)) && {vehicle (_this select 0) == vehicle (_this select 1)}}
|
||||
}] call FUNC(addCanInteractWithCondition);
|
||||
|
||||
// check dlls
|
||||
{
|
||||
if (_x callExtension "version" == "") then {
|
||||
private "_errorMsg";
|
||||
_errorMsg = format ["Extension %1.dll not installed.", _x];
|
||||
|
||||
diag_log text format ["[ACE] ERROR: %1", _errorMsg];
|
||||
["[ACE] ERROR", _errorMsg, {findDisplay 46 closeDisplay 0}] call FUNC(errorMessage);
|
||||
};
|
||||
} forEach ["ace_breakLine", "ace_advanced_ballistics", "ace_fcs"];
|
||||
|
Loading…
Reference in New Issue
Block a user