Open
Description
What happened?
If you pass -1 on any of the blip natives, there will be a native execution error.
Expected result
There shouldn't have been an error, same as when you pass a different invalid number to the functions
Reproduction steps
- Run this code
print( DoesBlipExist(-1) )
. Do note that this also happens with other blip natives such as SetBlipDisplay.
Importancy
There's a workaround
Area(s)
ScRT: Lua
Specific version(s)
3258 though i've seen in earlier builds too.
Additional information
The error happens both in JS and LUA. No idea about C#.