reset(); $this->putInt($this->eid); $this->putShort((int) ($this->speedX * 8000)); $this->putShort((int) ($this->speedY * 8000)); $this->putShort((int) ($this->speedZ * 8000)); } }