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

Script errors with blip natives #2487

Closed
freedy69 opened this issue Apr 26, 2024 · 0 comments
Closed

Script errors with blip natives #2487

freedy69 opened this issue Apr 26, 2024 · 0 comments
Labels

Comments

@freedy69
Copy link
Contributor

freedy69 commented Apr 26, 2024

What happened?

A few blip natives such as DoesBlipExist and RemoveBlip seem to cause native errors when you pass -1 as the blip index argument. This can be an issue for scripts that use -1 as default value for their blip variable and checking if the blip exists with DoesBlipExist

Expected result

There shouldn’t have been a native error, DoesBlipExist would return false

Reproduction steps

  1. Create a resource
  2. Write “DoesBlipExist(-1)”
  3. There should be a native execution/script error in f8

Importancy

There's a workaround

Area(s)

Natives

Specific version(s)

Seems to be an issue after the tuners update though not 100% sure

Additional information

No response

@freedy69 freedy69 added bug triage Needs a preliminary assessment to determine the urgency and required action labels Apr 26, 2024
@github-actions github-actions bot removed the triage Needs a preliminary assessment to determine the urgency and required action label Apr 26, 2024
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

1 participant