Resolved checking if player is within a area

Discussion in 'Developer Support' started by itzDot, Sep 1, 2015.

  1. how do you guys check if local player is within a area
    i've tried
    gV.getLOCATION_AREA().contains(players.getLocal().getPosition());
    but the localplayer returns static position. is there another way to get the same results since im new to the api
     
  2. Best Answer:
    Post #2 by Derk, Sep 1, 2015
  3. if (AREA.contains(Players.getLocal()) {
    do stuff
    }
     
    itzDot likes this.
  4. Have you tried
    Code (Text):
    1. com.runemate.game.api.location.Area
     
  5. ya problem fixed no worries
     

Share This Page

Loading...