mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Hotwire rework
Hotwire rework
This commit is contained in:
@@ -15,20 +15,18 @@ if (_removed == 1) then {
|
|||||||
player playActionNow "Medic";
|
player playActionNow "Medic";
|
||||||
[player,"repair",0,false] call dayz_zombieSpeak;
|
[player,"repair",0,false] call dayz_zombieSpeak;
|
||||||
[player,50,true,(getPosATL player)] spawn player_alertZombies;
|
[player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||||
uiSleep 8;
|
|
||||||
|
|
||||||
|
_vehType = getText (configFile >> "CfgVehicles" >> typeOf _vehicle >> "displayName");
|
||||||
if ((random 10) <= 7.5) then {
|
if ((random 10) <= 7.5) then {
|
||||||
PVDZE_veh_Lock = [_vehicle,false];
|
PVDZE_veh_Lock = [_vehicle,false];
|
||||||
if (player distance _vehicle < 10) then {
|
if (local _vehicle) then {
|
||||||
if (local _vehicle) then {
|
PVDZE_veh_Lock call local_lockUnlock
|
||||||
PVDZE_veh_Lock call local_lockUnlock
|
} else {
|
||||||
} else {
|
publicVariable "PVDZE_veh_Lock";
|
||||||
publicVariable "PVDZE_veh_Lock";
|
|
||||||
};
|
|
||||||
format [localize "STR_EPOCH_PLAYER_33_OK",typeOf _vehicle] call dayz_rollingMessages;
|
|
||||||
};
|
};
|
||||||
|
format [localize "STR_EPOCH_PLAYER_33_OK",_vehType] call dayz_rollingMessages;
|
||||||
} else {
|
} else {
|
||||||
format [localize "STR_EPOCH_PLAYER_33",typeOf _vehicle] call dayz_rollingMessages;
|
format [localize "STR_EPOCH_PLAYER_33",_vehType] call dayz_rollingMessages;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user