1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Models help

Discussion in 'Development' started by Daniil129932, Feb 20, 2018.

  1. Daniil129932

    Daniil129932 Spider

    Messages:
    9
    GitHub:
    daniil129932
    Hello. I would like to learn how to use models? How to use them on the server? There are examples?
     
  2. armagadon159753

    armagadon159753 Zombie

    Messages:
    217
    GitHub:
    armagadon159753
    Models ?
     
  3. Daniil129932

    Daniil129932 Spider

    Messages:
    9
    GitHub:
    daniil129932
    Yes!
     
  4. armagadon159753

    armagadon159753 Zombie

    Messages:
    217
    GitHub:
    armagadon159753
    Wath is that ?
     
  5. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    I guess he is referring to skin geometry data?
     
  6. byyEmirhanWSD

    byyEmirhanWSD Witch

    Messages:
    50
    GitHub:
    EmirhanWSD
    PHP:
    $form $this->getServer()->getPluginManager()->getPlugin("FormAPI")->createModalForm(function (Player $sender, array $data) {
        if(
    $data == true) {
            
    // Your code
           
    return true;
        }
        return;
    });
    $form->setTitle("Title");
    $form->setContent("Content");
    $form->setButton1("Button 1");
    $form->setButton2("Button 2");
     
    OnTheVerge likes this.
  7. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    that's forms not modals
    also op never said op want to depend on a plugin
     
  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.