Remove vehicle actions when unconscious

This commit is contained in:
ebaydayz
2016-11-12 17:54:27 -05:00
parent 8b3376643d
commit abeb5f9383
4 changed files with 13 additions and 4 deletions

View File

@@ -124,7 +124,7 @@ if (!_canDoThis && s_player_Drinkfromhands >= 0) then {
if (_inVehicle) then {
DZE_myVehicle = _vehicle;
if (_vehicleOwnerID != "0" && !(_vehicle isKindOf "Bicycle")) then {
if (_vehicleOwnerID != "0" && !(_vehicle isKindOf "Bicycle") && _canDo) then {
if (s_player_lockUnlockInside_ctrl < 0) then {
_totalKeys = call epoch_tempKeys;
_temp_keys = _totalKeys select 0;