mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +03:00
Remove comment for engine starting/stopping
Actually makes this functional without editing it, this is quite useful for custom scripts.
This commit is contained in:
@@ -33,7 +33,7 @@ switch (_variable) do {
|
|||||||
_vehicle = _arraytosend select 0;
|
_vehicle = _arraytosend select 0;
|
||||||
_state = _arraytosend select 1;
|
_state = _arraytosend select 1;
|
||||||
if (local _vehicle) then {
|
if (local _vehicle) then {
|
||||||
//_vehicle engineOn _state;
|
_vehicle engineOn _state;
|
||||||
_vehicle setOwner _owner;
|
_vehicle setOwner _owner;
|
||||||
} else {
|
} else {
|
||||||
PVCDZ_veh_engineSwitch = _arraytosend;
|
PVCDZ_veh_engineSwitch = _arraytosend;
|
||||||
@@ -135,4 +135,4 @@ switch (_variable) do {
|
|||||||
} forEach playableUnits;
|
} forEach playableUnits;
|
||||||
};
|
};
|
||||||
default { diag_log format ["%1, %2, %3, %4", _unit, _variable, _arraytosend, _owner]; };
|
default { diag_log format ["%1, %2, %3, %4", _unit, _variable, _arraytosend, _owner]; };
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user