Add A and D keys to interrupt

This commit is contained in:
ebaydayz
2016-04-19 13:05:59 -04:00
parent 4d5dc060d2
commit 58d54a8ce0
9 changed files with 14 additions and 11 deletions

View File

@@ -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;
};