Qbox-project / qbx_garages

GNU General Public License v3.0
9 stars 38 forks source link

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

Closed andreutu closed 2 months ago

andreutu commented 2 months ago

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

mafewtm commented 2 months ago

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 commented 2 months ago

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