Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

2vs2

Comments in 'Plugin Development' started by TheClimbing, Feb 3, 2016.

  1. Ritch
    Offline

    Ritch Active Member

    Joined:
    Oct 4, 2015
    Posts:
    184
    Minecraft User:
    anonymous
    2vs2 no ..... Why ? Your error is add public function isEnemy() ? 2) . Learn PHP 3). Plugin by Minifixio remove licence .
  2. Ritch
    Offline

    Ritch Active Member

    Joined:
    Oct 4, 2015
    Posts:
    184
    Minecraft User:
    anonymous
    And add author : Minifixio edited by LearnPHP
  3. TheClimbing
    Offline

    TheClimbing New Member

    Joined:
    Jan 13, 2016
    Posts:
    20
    Amm guys I'm still getting Error call to undefined method getServer().Maybe its because of Php7?
  4. PocketKiller
    Offline

    PocketKiller Notable Member

    Joined:
    Jul 20, 2015
    Posts:
    741
    its because you're not extending pocketmine\PluginBase.
    applqpak likes this.
  5. Wolfo
    Offline

    Wolfo New Member

    Joined:
    Nov 3, 2015
    Posts:
    3
    Minecraft User:
    Wolfo
    Lol i,m wanting just The same thing to my trash server v':
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    If you have an instance of your main class in your ArenaManager class, such as stored to $this->main, you can simply to $this->main->getServer(). This is very basic object-oriented programming skills.
    Vaivez66 and applqpak like this.

Share This Page

Advertisement