qbcore-framework / qb-drugs

Drugs Script For QB-Core :herb:
GNU General Public License v3.0
34 stars 185 forks source link

[BUG]qb drugs isnt creating dealers #113

Closed BiGMAn0123 closed 1 year ago

BiGMAn0123 commented 1 year ago

when i use the /newdealer command the dealer isnt useable in anyway

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 should be able to use the dealer

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

Questions (please complete the following information):

Additional context when i add a new dealer the dealer dont have a menu and i cant do anything with it but it shows on the list of dealers.

GodyFromDiscord commented 1 year ago

it would be nice to actually fill the template in buddy...

Save5Bucks commented 1 year ago

remove the '#' if Config.Dealers == 0 then return end