Jump to content

Creating new area doesnt work?


Recommended Posts

Posted
36 minutes ago, BloodyNoah said:

Hey im trying to create a new area with this code: Area area = new Area(3245, 3158, 3240, 3150);

 

But it somehow doesnt work, I got this error: Cannot resolve constructor 'Area(int, int, int, int)'

 

Can anyone help me?

Probably using the wrong import. Check your imports and see if it's importing Java's area class or OSBot's.

OSBot's import

import org.osbot.rs07.api.map.Area;

 

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...