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...
On 7/9/2014 at 8:19 PM, Dwarfer said:

I think i have a new working solution for 1.0.5.1+ 

 

I will test for a day then report back.

 

Thanks

It's been almost two years... ;)  Any news?

This just refuses to work for me and I'm getting desperate now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

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