protected function showTansfertLabel($login = null, $posY = 0) { $label = Label::Create($login); $label->hideOnF6 = false; $label->showBackground = true; $label->setMessage('transfer'); $label->setPosY($posY); $label->show(); }
/** * Display a text message in the center of the player's screen * If countdown is set, the message will be refresh every second the end of the countdown * @param string $login * @param string $message * @param int $countdown * @param bool $isAnimated If true the text will be animated */ final function createLabel($message, $login = null, $countdown = null, $isAnimated = false, $hideOnF6 = true, $showBackgroud = false) { $this->removeLabel($login); $ui = Windows\Label::Create($login); $ui->setPosition(0, 40); $ui->setMessage($message, $countdown); $ui->animated = $isAnimated; $ui->hideOnF6 = $hideOnF6; $ui->showBackground = $showBackgroud; $ui->show(); }