Jump to content

Creating new area doesnt work?


BloodyNoah

Recommended Posts

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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