Vehicle lock script help please

Vehicle lock script help please

« posted: Feb 15, 2015, 03:57 PM »
Hey, so im having problems with this script. players can lock helis from the inside but cant from the outside, cars become unlocked after restarts. if anyone can help me with this that would be great. thanks

Script: http://forums.a3wasteland.com/index.php?topic=943.0
  • Offline ArnDog
  • Fresh Spawn
  • *
  • Posts: 17

Re: Vehicle lock script help please

« Reply #1 posted: Feb 19, 2015, 01:21 PM »
I am also having this problem and can not for the life of me find the fix. The vehicles become lockable externally after a restart so i presume it is a problem with saving process while the server is running.
  • Offline LouD
  • Silent but deadly ;)
  • Moderator
  • Veteran
  • ******
  • Posts: 1415

Re: Vehicle lock script help please

« Reply #2 posted: Feb 19, 2015, 01:24 PM »
If you want vehicles to load in locked you will need to add the variable to it after load.

Add this to your vload.sqf

https://github.com/LouDnl/ArmA3_Wasteland.Altis/blob/NL-United/persistence/server/world/vLoad.sqf#L122-L126