Hi there.
Found a bug that allows to access ItemSafe inventory if you place some WeaponHolder close it, even if its locked.
Just a suggestion
private ["_nearcondition","_display"]; disableSerialization; _nearcondition = nil; _display = nil; while {true} do { _near = (position player) nearEntities ["ItemSafe",5]; _nearcondition = {_x getVariable ["EPOCH_Locked",false]} forEach _near; _display = (findDisplay 46); sleep 0.5; while {true in _nearcondition} do { _display closeDisplay 1; systemChat "You cannot do this near locked safe"; // or some function like END_MISSION }; };
P.S not sure if 46 is inventory.
Edited by Demellioncode update