Jump to content

[Tutorial] Disabling R3F Tow/Lift for Locked Vehicles


MrTesla

Recommended Posts

  • 6 months later...

help pls to stuck 2 scripts in this file local_lockUnlock

 

 

R3F locked vehicle fix

and

remote control

 

 

 

 

 

 

 

 

 

 

here is remote control

 

 

private ["_vehicle","_status","_sounddist"];

 

_vehicle = _this select 0;

 

_status = _this select 1;

 

_sounddist = 20;

 

 

if (local _vehicle) then {

 

if(_status) then {

 

  _vehicle setVehicleLock "LOCKED";

 

  player action ["lightOn", _vehicle];

 

  _nul = [objNull, _vehicle, rSAY, "carLock", _sounddist] call RE;

 

  sleep 0.5;

 

  player action ["lightOff", _vehicle];

 

} else {

 

  _vehicle setVehicleLock "UNLOCKED";

 

  player action ["lightOn", _vehicle];

 

  _nul = [objNull, _vehicle, rSAY, "carLock", _sounddist] call RE;

 

  sleep 0.5;

 

  player action ["lightOff", _vehicle];

 

};

 

};

 

 

and here is  R3F fix

 

 

private ["_vehicle","_status"];

 

_vehicle = _this select 0;

 

_status = _this select 1;

 

 

if (local _vehicle) then {

 

if(_status) then {

 

  _vehicle setVehicleLock "LOCKED";

 

  _vehicle setVariable ["R3F_LOG_disabled",true,true];

 

} else {

 

  _vehicle setVehicleLock "UNLOCKED";

 

  _vehicle setVariable ["R3F_LOG_disabled",false,true];

 

};

 

};

 

 

Link to comment
Share on other sites

  • 11 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
×
×
  • Create New...