JonasDev17 / qb-garages

GNU General Public License v3.0
96 stars 70 forks source link

Police shared garage #162

Open DemonLawyerr opened 2 months ago

DemonLawyerr commented 2 months ago

I'm trying to achieve a fully shared garage with other police members, so they can actually take care of their cars and now just spawn them in. I'm trying my best, with no success.

['policeside'] = { ['Zone'] = { ['Shape'] = { --polygon that surrounds the parking area vector2(449.11633300782, -1027.4654541016), vector2(447.30383300782, -1016.0021362304), vector2(424.27795410156, -1016.818786621), vector2(423.95770263672, -1029.9932861328) }, ['minZ'] = 28.10, -- min height of the parking zone ['maxZ'] = 29.97, -- max height of the parking zone }, label = "Police parking", showBlip = false, blipName = "Police Parking", blipNumber = 357, type = 'job', --public, job, gang, depot jobGarageIdentifier = 'policeside', vehicleCategories = {'emergency'}, drawText = 'Police Parking', --car, air, sea job = 'police', debug = false, ['ParkingSpots'] = { vector4(430.8, -1027.74, 28.93, 18.73), vector4(434.16, -1027.7, 28.87, 9.08), vector4(438.22, -1026.97, 28.79, 9.76), vector4(442.13, -1026.45, 28.72, 0.89), vector4(445.73, -1025.73, 28.65, 9.11),

    }
},

This is my config Yes, i do have 'policeside' in SharedJobGarage config

JonasDev17 commented 3 weeks ago

Remove jobGarageIdentifier and try: minZ 26 and maxZ 32