Open tatqq opened 6 years ago
Hi, How to make the command not work on spectators? ( only for red and blue teams )
> case 'p': > room.pauseGame(true); > break; > > case 'up': > room.pauseGame(false); > break;
case 'p': if (player.team !== 0) { room.pauseGame(true); } break; case 'up': if (player.team !== 0) { room.pauseGame(false); } break;
Hi, How to make the command not work on spectators? ( only for red and blue teams )