16.08.2017, 17:10
Hello Shaheen
Looking at the code, it's obvious that there's a value that is -1 when you access it.
Try to find your pawn config file (settings.ini), and add -d3 into it in the arguments. This will add debug level 3 and most likely give you a line number to work from.
Here is a picture

If this wasn't / isn't working correctly, you'll need to debug the variables manually and print the values to the chat/log.
With a good text editor this is done quickly
Looking at the code, it's obvious that there's a value that is -1 when you access it.
Try to find your pawn config file (settings.ini), and add -d3 into it in the arguments. This will add debug level 3 and most likely give you a line number to work from.
Here is a picture

If this wasn't / isn't working correctly, you'll need to debug the variables manually and print the values to the chat/log.
With a good text editor this is done quickly
