qbcore-framework / qb-doorlock

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

[BUG] Update State Not Working #142

Closed CloakedManz closed 9 months ago

CloakedManz commented 1 year ago

Describe the bug When trying to call 'qb-doorlock:server:updateState', the door state does not update. Please see attached images.

To Reproduce Steps to reproduce the behavior:

  1. Create a door in a qb-doorlock config and setup a server command that updates the state.
  2. Run the command
  3. Observe state not updating

Expected behavior The state should change, in this case specifically the door should lock.

Even testing with updated args - TriggerEvent('qb-doorlock:server:updateState', "prison-prison1", true, src, false, false, false, false, true) there seems to be nothing that works to change the state.

Screenshots If applicable, add screenshots to help explain your problem. image image2 image3

Questions (please complete the following information):

github-actions[bot] commented 9 months ago

This issue has had 60 days of inactivity & will close within 7 days