qbcore-framework / qb-vehicleshop

GNU General Public License v3.0
20 stars 72 forks source link

[BUG] Coords for truck dealer placement too high #69

Closed JReagan618 closed 7 months ago

JReagan618 commented 9 months 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 'truck dealer'

Expected behavior Trucks not to float.

Screenshots I forgot to get a SS before I fixed the issue.

Questions (please complete the following information):

Additional context The coords for the truck placement are "1" too high. Need to change them down "1" so trucks arent' floating.

From qb-vehicleshop/config,lua "['ShowroomVehicles'] = { [1] = { coords = vector4(890.84, -1170.92, 24.08, 269.58), -- where the vehicle will spawn on display defaultVehicle = 'hauler', -- Default display vehicle chosenVehicle = 'hauler', -- Same as default but is dynamically changed when swapping vehicles }, [2] = { coords = vector4(878.45, -1171.04, 24.05, 273.08), defaultVehicle = 'phantom', chosenVehicle = 'phantom' }, [3] = { coords = vector4(880.44, -1163.59, 23.87, 273.08), defaultVehicle = 'mule', chosenVehicle = 'mule' }, [4] = { coords = vector4(896.95, -1162.62, 23.98, 273.08), defaultVehicle = 'mixer', chosenVehicle = 'mixer' }, }, }, }"

This fixes the issue.

github-actions[bot] commented 7 months ago

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