From 92dedfce6b418c92976aa8a6419a20f7704a8857 Mon Sep 17 00:00:00 2001 From: He-Man Date: Thu, 15 Aug 2019 23:30:32 +0200 Subject: [PATCH] Colorize Storage (Un)lock messages --- .../compile/epoch_vehicle/EPOCH_server_lockStorage.sqf | 8 ++++---- changelog.md | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_server_lockStorage.sqf b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_server_lockStorage.sqf index 3d4403e7..79524ab6 100644 --- a/Sources/epoch_server/compile/epoch_vehicle/EPOCH_server_lockStorage.sqf +++ b/Sources/epoch_server/compile/epoch_vehicle/EPOCH_server_lockStorage.sqf @@ -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]; }; }; diff --git a/changelog.md b/changelog.md index b23d8fca..a0c1ac62 100644 --- a/changelog.md +++ b/changelog.md @@ -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