mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Add lock and unlock vehicle from inside
See: #1103 Made vehicle gear always accessible from inside. Also added optional variable to prevent stealing from backpacks by non-friendlies at traders. Thanks to @maca134 for the method.
This commit is contained in:
@@ -258,6 +258,7 @@ dayz_resetSelfActions = {
|
||||
s_player_heli_lift = -1;
|
||||
s_player_heli_detach = -1;
|
||||
s_player_lockUnlock_crtl = -1;
|
||||
s_player_lockUnlockInside_ctrl = -1;
|
||||
s_player_toggleSnap = -1;
|
||||
s_player_toggleSnapSelect = -1;
|
||||
s_player_toggleSnapSelectPoint=[];
|
||||
@@ -269,6 +270,7 @@ call dayz_resetSelfActions;
|
||||
s_player_lastTarget = [objNull,objNull,objNull,objNull,objNull];
|
||||
s_player_repairActions = [];
|
||||
s_player_lockunlock = [];
|
||||
s_player_lockUnlockInside = [];
|
||||
|
||||
// Custom
|
||||
s_player_madsci = [];
|
||||
@@ -564,6 +566,9 @@ if (isNil "DZE_checkNearbyRadius") then {
|
||||
if (isNil "DZE_RestrictSkins") then {
|
||||
DZE_RestrictSkins = [];
|
||||
};
|
||||
if (isNil "DZE_BackpackAntiTheft") then {
|
||||
DZE_BackpackAntiTheft = false;
|
||||
};
|
||||
// needed on server
|
||||
if(isNil "DZE_PlotPole") then {
|
||||
DZE_PlotPole = [30,45];
|
||||
|
||||
Reference in New Issue
Block a user