qbcore-framework / qb-doorlock

Doorlock Script For QB-Core
GNU General Public License v3.0
30 stars 196 forks source link

🐛Fix: Incorrect event parameters #126

Closed Qwerty1Verified closed 1 year ago

Qwerty1Verified commented 1 year ago

Describe Pull request This PR fixes the client event parameters for setting a doors state. The server code sends enableSounds as the 5th parameter and enableAnimation as the 6th parameter, but on the client code the event handlers parameters have enableSounds set to be the 6th parameter and enableAnimation to instead be the 5th parameter.

Questions (please complete the following information):