mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
9 lines
245 B
Plaintext
9 lines
245 B
Plaintext
disableSerialization;
|
|
_display = (_this select 0);
|
|
_close = {locked _x} count (nearestObjects [player, ["AllVehicles"], 5]) > 0;
|
|
|
|
cutText ["Cannot access gear on a locked vehicle." , "PLAIN DOWN"];
|
|
|
|
if(_close) then {
|
|
_display closeDisplay 1;
|
|
}; |