03.06.2020, 00:04
Are you resetting the PlayerInfo array when the player disconnects? If so, make sure to do the duel check before you reset it, otherwise I assume you set the value to -1 before you actually do your check, so "id" will always be -1 which isn't a valid player ID.
You also have a typo in your parameters, while it's unrelated to your problem, you gotta figure it out.
You also have a typo in your parameters, while it's unrelated to your problem, you gotta figure it out.
