Qbox-project / qbx_smallresources

GNU General Public License v3.0
7 stars 37 forks source link

Update client.lua #110

Closed Mesrine67 closed 1 week ago

Mesrine67 commented 3 weeks ago

---Exemple local keybindShuffleSeat = lib.load('@qbx_smallresources.qbx_noshuff.client') keybindShuffleSeat:disable(true) -- disables the keybind keybindShuffleSeat:disable(false) -- enables the keybind

ArturMichalak commented 3 weeks ago

What does it do?

mafewtm commented 3 weeks ago

Why are we turning the client file of qbx_noshuff into a module? These files shouldn't be referenced anywhere else. If you wish to purpose exports for this then I wouldn't be opposed.

Additionally, please stick to the PR template provided and give a full explanation of your purposed change so a discussed can be properly had with all the necessary information and insight.

Mesrine67 commented 3 weeks ago

this would be useful for the key system, deactivating the seat when the car is locked from the inside, I'm thinking of creating a hiding place in the trunk of the vehicle for the players to connect the trunk lock to the key system,

ArturMichalak commented 3 weeks ago

Aside from the fact that it won't work in qbx_vehiclekeys. You did not describe what you want to do and you want to make breaking changes without discussing it. It is senseless to lock the seat change with the door closed.