GetPlayerState(i) == 1 or 0
If the function returns 1 (player is alive), then "==" will return 1, and this 1 will be added to n; otherwise, it will return nil. But nil cannot be added, and the "or" operation replaces it with 0.
Auto-translated