qbcore-framework / qb-smallresources

A compilation of small resources combined into one
GNU General Public License v3.0
50 stars 347 forks source link

[BUG] No such export HasHarness in qb-smallresources #425

Closed Bellck closed 8 months ago

Bellck commented 11 months ago

Describe the bug When your in a vehicle, using the f1 menu, you cannot swap seats. This is the only error shown on console.

To Reproduce Steps to reproduce the behavior:

  1. Get in a car
  2. Open F1 Menu and try change seats
  3. Nothing happens
  4. Open F8 menu see error

Expected behavior Change seats?

Screenshots https://cdn.discordapp.com/attachments/1166506207788421141/1166506208367218780/image.png

Questions (please complete the following information):

Additional context N/A

citRaTTV commented 9 months ago

This is working as expected in the latest versions of qb-smallresources & qb-radialmenu. Are you sure qb-smallresources is up to date?

The hasHarness export is here: https://github.com/qbcore-framework/qb-smallresources/blob/main/client/seatbelt.lua#L78