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

GetVehicleModelNumberOfSeats returning incorrect values if model is not loaded #2863

Closed
Mathu-lmn opened this issue Oct 13, 2024 · 6 comments
Labels

Comments

@Mathu-lmn
Copy link
Contributor

What happened?

As shown in this image, the GetVehicleModelNumberOfSeats native returns the wrong number of vehicle seats when the model is not loaded
image
But after that, I tried loading the model in memory and it was working :
image

Expected result

Returning the correct number of seats

Reproduction steps

See the code in the screenshots above

Importancy

Slight inconvenience

Area(s)

FiveM, Natives

Specific version(s)

b3095 - canary client

Additional information

No response

@Mathu-lmn Mathu-lmn added bug triage Needs a preliminary assessment to determine the urgency and required action labels Oct 13, 2024
@AvarianKnight
Copy link
Contributor

This isn't a bug.

@Mathu-lmn
Copy link
Contributor Author

How is this not a bug ? The native works for the "primo" (returns 4 even when the model is not loaded) but not for the "rhinehart" (returns 2 when not loaded)

@spacevx
Copy link
Contributor

spacevx commented Oct 13, 2024

How is this not a bug ? The native works for the "primo" (returns 4 even when the model is not loaded) but not for the "rhinehart" (returns 2 when not loaded)

Thats how some natives are working, you need to load the model before

@AvarianKnight
Copy link
Contributor

@Mathu-lmn
Copy link
Contributor Author

So the rhinehart's model layout does not have the correct number of seats comparing to the real entity model ? damn...

@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Oct 13, 2024
@Bossman02
Copy link

How is this not a bug ? The native works for the "primo" (returns 4 even when the model is not loaded) but not for the "rhinehart" (returns 2 when not loaded)

Thats how some natives are working, you need to load the model before

If some natives have this “bug/ working mode”, wouldn't it be correct to state it in their documentation entry?

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

No branches or pull requests

4 participants