Colorize Storage (Un)lock messages

This commit is contained in:
He-Man 2019-08-15 23:30:32 +02:00
parent 4dbc27a8bd
commit 92dedfce6b
2 changed files with 5 additions and 4 deletions

View File

@ -59,17 +59,17 @@ if (getNumber(_cfgBaseBuilding >> _type >> "isSecureStorage") == 1) then {
};
};
};
_msg = "You are not the owner";
_msg = ["You are not the owner",5];
if (_LockStateChanged) then {
if (_locked) then {
EPOCH_saveStorQueue pushBackUnique _unit;
_msg = "Storage Locked";
_msg = ["Storage Locked",5,[[1,0,0,0.2],[1,1,1,1]]];
}
else {
_msg = "Storage Unlocked";
_msg = ["Storage Unlocked",5,[[0,1,0,0.2],[1,1,1,1]]];
};
};
if (_VehLockMessages) then {
[_msg,5] remoteExec ["Epoch_Message",_player];
_msg remoteExec ["Epoch_Message",_player];
};
};

View File

@ -30,6 +30,7 @@ All changes for [Arma 3](https://arma3.com/) [Epoch Mod](https://epochmod.com) a
- Inside your PlotPole-Range: 3 days
- Outside your PlotPole-Range: 30 minutes
- Weapon attachments are no longer dismounted within containers on restarts
- Colorized Vehicle / Storage Locked / Unlocked messages
### Server Owners
- Added Compatibility to Lythium and Livonia Map