Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buy OSRS Gold

Sell OSRS Gold

rsbotrush123

Registered
  • Content Count

    1
  • Joined

  • Last visited

  • Feedback

    N/A

Community Reputation

0 Neutral

About rsbotrush123

  • Rank
    New Botter

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello everyone, I am trying to get the definition of an RSobject but it is always returning null. this is my code RSObject foundObject = null; for (int i = 0; i < pathObjects.length; i++) { RSObject[] allObjects = Objects.getAt(pathObjects[i]); if(allObjects.length > 0) { if(allObjects[0].getPosition().distanceTo(Player.getPosition()) < 7) { foundObject = allObjects[0]; println("Definition" + foundObject.getDefinition()); break; } } } return foundObject; I think i am doing something wrong but i don't know what. Thanks in advance!
×
×
  • Create New...