second_coming Posted March 29, 2015 Report Share Posted March 29, 2015 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? Link to comment Share on other sites More sharing options...
0 mgm Posted March 29, 2015 Report Share Posted March 29, 2015 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 More sharing options...
0 second_coming Posted March 29, 2015 Author Report Share Posted March 29, 2015 no, a split second after unlocking. Link to comment Share on other sites More sharing options...
0 mgm Posted March 29, 2015 Report Share Posted March 29, 2015 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 More sharing options...
Question
second_coming
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:
Anyone know how to make it stay unlocked?Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now