qb-garages icon indicating copy to clipboard operation
qb-garages copied to clipboard

after adding house garage it works until you restart and pull car out then try to park it again it says can't park car here. And I own the house created.[BUG]

Open hek174 opened this issue 1 year ago • 2 comments

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):

  • When you last updated: [e.g. last week]
  • Are you using custom resource? which ones? [e.g. zdiscord, qb-target]
  • Have you renamed qb- to something custom? [e.g. yes/no]

Additional context Add any other context about the problem here.

hek174 avatar Jan 26 '24 23:01 hek174

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

github-actions[bot] avatar Mar 27 '24 15:03 github-actions[bot]

if type == 'house' and not exports['qb-houses']:hasKey(Player.PlayerData.license, Player.PlayerData.citizenid, Config.Garages[garage].houseName) then
    cb(true)
else
    cb(false)
end

I changed the code in the server/main.lua to this and it seems to be working

JokerDom avatar Mar 30 '24 19:03 JokerDom

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

github-actions[bot] avatar May 31 '24 15:05 github-actions[bot]

if type == 'house' and not exports['qb-houses']:hasKey(Player.PlayerData.license, Player.PlayerData.citizenid, Config.Garages[garage].houseName) then
    cb(true)
else
    cb(false)
end

I changed the code in the server/main.lua to this and it seems to be working

What line did you replace this on in the .lua?

LilllSkrimp avatar Jun 10 '24 02:06 LilllSkrimp