Add warning that xPlayer must be checked for nil value before indexing
I've had to fix so many scripts that fail because they try to iterate xPlayers and try to get some information about a player without checking whether it's nil. A warning somewhere in the documentation would be nice
so many scripts that fail because they try to iterate xPlayers and try to get some information a
What function are you talking about ?
Any function that iterates through xPlayers without checking whether xPlayer is nil is prone to fail, and I've seen this countless times, there should be a warning somewhere in the documentation that this must be checked
Hi! @pablordgez Will be included in the docs, thanks for your suggestion.