Files
DayZ-Epoch/SQF/dayz_code/compile/fn_gearMenuChecks.sqf
2013-09-27 16:29:21 -05:00

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;
};