qbcore-framework / qb-garages

Garage System Used With QB-Core :car:
GNU General Public License v3.0
48 stars 259 forks source link

[BUG] House Garage marker disappears after leaving and joining back #199

Closed KRW28 closed 2 years ago

KRW28 commented 2 years ago

Describe the bug As Real estate, I do /addgarage next to the house I own. It adds the garage marker and allows me to park car that house garage. When logging off and back on, the marker isn't there. The only way the marker comes back is if I restart the qb-house script or if I just do /addgarage again. Restarting the server didn't work either as the marker was not there. It allows me to park the car at the garage, stores it in the database.

Expected behavior When adding the house garage, the marker should be there after logging off and back on.

Screenshots No Screenshots at this time. No errors on the f8 console.

Questions (please complete the following information): - When you last updated: [e.g. last week] Updated to yesterday, 5/22 to the latest files. This includes both the housing and garage script. Server artifacts is up to date as well. - Are you using custom resource? which ones? [e.g. zdiscord, qb-target] No custom resources, everything is qb based. - Have you renamed qb- to something custom? [e.g. yes/no] No

Additional context After adding the house garage, marker shows up. Restart the qb-garage script and marker disappears for house only. Markers show up for public garages. Re add the house garage for marker to show up, log off and back on and marker isn't there. Restart the housing script and garage shows back up.

kiingss commented 2 years ago

any fix for this ?

cfunkz commented 1 year ago

me to, how did you fix it?