1
0
mirror of https://github.com/acemod/ACE3.git synced 2024-08-30 18:23:18 +00:00

ace_cargoLoaded for zeus module ()

This commit is contained in:
shukari 2020-04-18 23:14:54 +02:00 committed by GitHub
parent 9bf1d50383
commit 4302a944d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,7 @@ if (!alive _cargo) exitWith {
private _loadedItem = [localize ELSTRING(cargo,LoadedItem), "<br/>", " "] call CBA_fnc_replace;
private _holderDisplayName = [_holder] call EFUNC(common,getName);
[_loadedItem, _displayName, _holderDisplayName] call FUNC(showMessage);
["ace_cargoLoaded", [_cargo, _holder]] call CBA_fnc_globalEvent;
} else {
private _loadingFailed = [localize ELSTRING(cargo,LoadingFailed), "<br/>", " "] call CBA_fnc_replace;
[_loadingFailed, _displayName] call FUNC(showMessage);