05.09.2018, 12:12
I don't know about easyDialog (I assume that is what you are using) but by default -1 shouldn't be a possible value for listitem.
However you should always add boundary checks for any player input because the info can be spoofed/changed in most cases, eg. Dialogs or clicked TextDraws.
However you should always add boundary checks for any player input because the info can be spoofed/changed in most cases, eg. Dialogs or clicked TextDraws.