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

ClearGarageArea & ClearObjectsInsideGarage crashes #2507

Open
Mathu-lmn opened this issue May 7, 2024 · 0 comments
Open

ClearGarageArea & ClearObjectsInsideGarage crashes #2507

Mathu-lmn opened this issue May 7, 2024 · 0 comments
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action

Comments

@Mathu-lmn
Copy link

What happened?

When trying to use these native, I crash instantly with these crash hashes :

  • ClearGarageArea : idaho-magazine-kentucky
  • ClearObjectsInsideGarage : neptune-lima-network

Expected result

Throw an error as I'm not passing enough arguments, if it's the reason

Reproduction steps

RegisterCommand("test", function()
    print(ClearGarageArea())
end)

Importancy

Slight inconvenience

Area(s)

FiveM, Natives

Specific version(s)

FiveM b3095

Additional information

I know I should check for the parameters, however I don't think any native call should crash the client, but throw an error if the arguments are invalid !

@Mathu-lmn Mathu-lmn added bug triage Needs a preliminary assessment to determine the urgency and required action labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

1 participant