hoangducvn / MojiaGarages

🅿 Best advanced garages for QB-Core Framework 🚗
50 stars 42 forks source link

MojiaGarages/server.lua:511: bad argument #1 to 'vector2' (invalid vector type) #139

Open TrumpPT07 opened 2 years ago

TrumpPT07 commented 2 years ago

Hi, when i start my server after install mojiagarages i have this error and i cant fix it, someone can help me?

TwoScoops87 commented 1 year ago

I removed the numbers from these lines in my server lua. About to test it out and see if its fixed. The console doesn't show any errors and shows that mojiagarages is respawning cars. vector2(garage.x1, garage.y1), vector2(garage.x2, garage.y2), vector2(garage.x3, garage.y3), vector2(garage.x4, garage.y4),

Should look like this. vector2(garage.x, garage.y), vector2(garage.x, garage.y), vector2(garage.x, garage.y), vector2(garage.x, garage.y), Again have not tested yet!!