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

Area Coords

Comments in 'Plugin Development' started by Falk, Nov 25, 2013.

  1. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,710
    Plugins:
    22
    Minecraft User:
    Falkirknh
    I have x1, x2, y1, y2, z1 and z2. How can I turn this into an array of all the coordinates in the area!
  2. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    $this->positions = array($x1, $x2, $y1, $y2, $z1, $z2);
  3. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,710
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Nah, it's more of a headache then that:
    $blocks = array($x . ":" . $y . ":" . $z, $x . ":" . $y . ":" . $z, and so on

Share This Page

Advertisement