mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Forgot player check
This commit is contained in:
@@ -2,7 +2,7 @@ local _vehicle = _this select 0;
|
|||||||
local _unit = _this select 2;
|
local _unit = _this select 2;
|
||||||
local _driver = driver _vehicle;
|
local _driver = driver _vehicle;
|
||||||
|
|
||||||
if (!(isNull _driver) && {_driver != _unit}) exitwith {};
|
if ((_unit != player) || {!(isNull _driver) && {_driver != _unit}}) exitwith {};
|
||||||
|
|
||||||
while {_vehicle isKindOf "Submarine_DZE_base"} do {
|
while {_vehicle isKindOf "Submarine_DZE_base"} do {
|
||||||
local _pos = getposATL _vehicle;
|
local _pos = getposATL _vehicle;
|
||||||
|
|||||||
Reference in New Issue
Block a user