qbcore-framework / qb-management

Management menu for jobs & gangs
GNU General Public License v3.0
33 stars 167 forks source link

[BUG] No such export DrawExport in resource qb-core #38

Closed DragoonSpirit1 closed 2 years ago

DragoonSpirit1 commented 2 years ago

Describe the bug A clear and concise description of what the bug is. A stranger to qbcore should be able to read your bug report and understand how to reproduce it themselves and understand how the feature should work normally.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Use this item '....' (item's name from shared.lua if applicable)
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

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

Questions (please complete the following information):

Additional context Add any other context about the problem here.

Hey All, I followed the instructions to the "T" when installing this script and i edited my cl_config for the coords and saved it, restarted the server and i then get this error qb-management error

I have cleared my server cache, updated all the dependencies to the latest and im still facing this issue.

menkzy commented 2 years ago

Not a bug, you need to update your qb-core to the dev build.

DragoonSpirit1 commented 2 years ago

menkzy

I have i went to qb-core repository and clicked on code then download zip. Not sure if this is the one your referring too?

I did try this though in cl_boss.lua line 8 changed the follwoing: Ln 008: exports['qb-core']:HideText() to exports['qb-drawtext']:HideText()

Ln 316: exports['qb-core']:DrawText('Open Job Management', 'left') to exports['qb-drawtext']:DrawText('Open Job Management', 'left')

Ln 320: exports['qb-core']:HideText() to exports['qb-drawtext']:HideText()

Cl_gang:

Ln 8: same as above Ln 318: Same as above Ln 322: same as above

Seems to fix this issue

realSixGrams commented 2 years ago

https://github.com/IdrisDose/qb-drawtext

Use this, and change exports['qb-core'] to exports['qb-drawtext']

DragoonSpirit1 commented 2 years ago

i did, i submitted 2 pull request earlier with the changes. this is what fixed it