Unnman Posted May 12, 2018 Report Share Posted May 12, 2018 Hello folks, I just wanted to ask how to remove key from traders when you buy vehicle, i been working on mine pve server with friends and buying takes up inventory (and we dont really need key cuz its pve type server). Thank you. Link to comment Share on other sites More sharing options...
0 salival Posted May 12, 2018 Report Share Posted May 12, 2018 3 hours ago, Unnman said: Hello folks, I just wanted to ask how to remove key from traders when you buy vehicle, i been working on mine pve server with friends and buying takes up inventory (and we dont really need key cuz its pve type server). Thank you. I think you asked about this on discord? The problem is it's tied in quite a few places, you could disable it properly with a lot of overwrites, but you could simply bypass the checks in fn_selfActions. If you're running a custom fn_selfActions.sqf (https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/fn_selfActions.sqf): Here's a simple way to remove the need for a key when locking/unlocking a vehicle, you could tell players to throw away their key since anyone would be able to lock/unlock a vehicle, find this line: _hasKey = _characterID in _temp_keys; Change it to: _hasKey = true; Link to comment Share on other sites More sharing options...
0 Unnman Posted May 12, 2018 Author Report Share Posted May 12, 2018 I doubt it was me on discord unless one of my friends asked. Okay i tested fn_selfActions and i think this will be enough ^^ Thank you very much. Link to comment Share on other sites More sharing options...
Question
Unnman
Hello folks, I just wanted to ask how to remove key from traders when you buy vehicle, i been working on mine pve server with friends and buying takes up inventory (and we dont really need key cuz its pve type server).
Thank you.
Link to comment
Share on other sites
2 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