get $data from slider FormAPI

Discussion in 'Facepalm' started by NoWlanDudeXd, Mar 14, 2018.

  1. NoWlanDudeXd

    NoWlanDudeXd Creeper

    Messages:
    1
    public function haste(Player $sender){
    $form = $this->createCustomForm(function (Player $player, array $data){

    $form->setTitle(TF::AQUA."Driller");
    $form->addSlider(TF::YELLOW."Level",1,2);
    $form->sendToPlayer($sender);
    }
     
  2. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
  3. NutXzG

    NutXzG Spider Jockey

    Messages:
    42
    GitHub:
    NutXzG
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.