mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Moved 2nd local check behind sleep
This commit is contained in:
parent
8e0c7afc91
commit
fe8c16d88f
@ -113,14 +113,13 @@ switch _do do {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if !(_repairarrays isequalto []) then {
|
if !(_repairarrays isequalto []) then {
|
||||||
if (_secondlocalcheck && !local _veh) exitwith {
|
|
||||||
['Error - You must get into drivers seat first!',5] call Epoch_message;
|
|
||||||
};
|
|
||||||
player playMove 'AinvPknlMstpSnonWrflDnon_medic0';
|
player playMove 'AinvPknlMstpSnonWrflDnon_medic0';
|
||||||
player playMove 'AinvPknlMstpSnonWrflDnon_medicEnd';
|
player playMove 'AinvPknlMstpSnonWrflDnon_medicEnd';
|
||||||
_veh say3d 'vehicle_repair';
|
_veh say3d 'vehicle_repair';
|
||||||
uisleep 5;
|
uisleep 5;
|
||||||
|
if (_secondlocalcheck && !local _veh) exitwith {
|
||||||
|
['Error - You must get into drivers seat first!',5] call Epoch_message;
|
||||||
|
};
|
||||||
if !(_returnmat isequalto "") then {
|
if !(_returnmat isequalto "") then {
|
||||||
_returnmat call EPOCH_fnc_addItemOverflow;
|
_returnmat call EPOCH_fnc_addItemOverflow;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user