Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option to exclude vehicle categories from locking upon spawn #121

Closed
wants to merge 1 commit into from

Conversation

andreutu
Copy link

Description

Currently, if a player decides to take out a motorcycle or a bicycle, it is impossible for them to ride the vehicle, due to the fact that all vehicles are automatically locked by default and qbx_vehiclekeys prevents bikes (motorcycles and bicycles) to be locked/unlocked. This PR aims to fix that by adding a config option for vehicle categories that a developer may want to avoid being locked if doorsLocked is true.

Checklist

  • I have personally loaded this code into an updated Qbox project and checked all of its functionality.
  • My pull request fits the contribution guidelines & code conventions.

@mafewtm
Copy link
Member

mafewtm commented Aug 30, 2024

This is unneeded. If certain vehicles are unable to be locked or unlocked then there is a bigger issue at hand here and an issue should be opened for qbx_vehiclekeys as it appears it does not work for with two wheeled vehicles.

@andreutu
Copy link
Author

I understand, I will open an issue in qbx_vehiclekeys and reference this pull request for more clarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants