mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Add A and D keys to interrupt
This commit is contained in:
@@ -120,7 +120,7 @@ if(isServer)then{
|
||||
_delQtyLights = 0;
|
||||
{
|
||||
if (local _x) then {
|
||||
deleteVehicle _x; //should use sched_co_deleteVehicle instead
|
||||
_x call sched_co_deleteVehicle;
|
||||
uiSleep 0.025;
|
||||
_delQtyLights = _delQtyLights + 1;
|
||||
} else {
|
||||
@@ -129,7 +129,7 @@ if(isServer)then{
|
||||
if (count _pos > 0) then {
|
||||
_nearby = {(isPlayer _x) && (alive _x)} count (_pos nearEntities [["CAManBase","AllVehicles"], 420]);//Use calculated range here.
|
||||
if (_nearby==0) then {
|
||||
deleteVehicle _x; //should use sched_co_deleteVehicle instead
|
||||
_x call sched_co_deleteVehicle;
|
||||
uiSleep 0.025;
|
||||
_delQtyLights = _delQtyLights + 1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user