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
Create a resource
Write “DoesBlipExist(-1)”
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
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
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