Jump to content
  • 0

Unlocking a locked vehicle/door


second_coming

Question

3 answers to this question

Recommended Posts

  • 0

I am working on a lock picking script for locked doors and vehicles but am struggling to get them to stay unlocked.

I am using the following code which does unlock a vehicle but they automatically relock:

_nearVehicle lock false;
Anyone know how to make it stay unlocked?

 

when is it auto-relocking? after a restart?

Link to comment
Share on other sites

  • 0

no, a split second after unlocking.

Two suggestions:

 

1. use "veh lock 0;"   to see if it changes anything? this is a wild guess though, possibly waste of your time

 

2. (this is what I am using and working fine in Arma 3, I think I did test it in Epoch and it was okay): use this: "vehicleName lockCargo true;" and its cousin lockDriver.

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
  • Discord

×
×
  • Create New...