agario-client.js
function() {
        if(!this.ws || this.ws.readyState !== WebSocket.OPEN) {
            if(this.debug >= 1)
                this.log('[warning] spectate() was called when connection was not established, packet will be dropped');
            return false;
        }

        var buf = new Buffer([1]);
        this.send(buf);

        return true;
    }
function() {
        if(!this.ws || this.ws.readyState !== WebSocket.OPEN) {
            if(this.debug >= 1)
                this.log('[warning] spectate() was called when connection was not established, packet will be dropped');
            return false;
        }

        var buf = new Buffer([1]);
        this.send(buf);

        return true;
    }
function ( ) { if ( ! this . ws || this . ws . readyState !== WebSocket . OPEN ) { if ( this . debug >= 1 ) this . log ( '[warning] spectate() was called when connection was not established, packet will be dropped' ) ; return false ; } var buf = new Buffer ( [ 1 ] ) ; this . send ( buf ) ; return true ; }
activate spectate mode
activate spectate mode