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

Task ?

Discussion in 'Development' started by GOdly, Jan 7, 2017.

  1. GOdly

    GOdly Witch

    Messages:
    50
    GitHub:
    CentOsDogE
    about http://learn-mc.ga/MCPE/#Vol4
    we use the task for commands.
    PHP:
                     $task = new tasks\MyTask($this$sender->getName()); // Create the new class Task by calling
                     
    $this->getServer()->getScheduler()->scheduleRepeatingTask($task10*20);
    And how can we write the task in the commands ?
     
  2. GOdly

    GOdly Witch

    Messages:
    50
    GitHub:
    CentOsDogE
    Anyone ? :D
     
  3. GamakCZ

    GamakCZ Zombie Pigman

    Messages:
    598
    GitHub:
    GamakCZ
    according to the command
     
  4. GOdly

    GOdly Witch

    Messages:
    50
    GitHub:
    CentOsDogE
    Thanks but I have already done this thread :v
     
  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.