Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TrumpPT07 opened this issue Jun 16, 2022 · 1 comment

Comments

@TrumpPT07
Copy link

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

@TwoScoops87
Copy link

TwoScoops87 commented Jul 18, 2023

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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants