deleteGlobalObject
|
|

hello everyone how do u remove the walls that ar around edgeville bank booth cause i mredisning the bank ty and rep++to whoever helps me
deleteGlobalObject

what r the cooridantes? cause i can get it

Make sure you have the myPos command. If not, use this one.
Now, go up to the wall you wish to delete and do this command. Once you've received the information you need, call upon the method, deleteGlobalObject with the coordinates.Code:if (command.equalsIgnoreCase("mypos") && playerRights > 2) { sendMessage("You're position is: " + absX + " " + absY + " "+ heightLevel + ""); }
If you don't have that method, add this:
In packet 121, right below the case add this:
Then, add this method:Code:deleteWalls();
Code:public static void deleteWalls(client c) { // deletethatWall(2851, 3341); // EXAMPLE }Code:public void deletethatwall(int objectX, int objectY) { ReplaceObject2(objectX, objectY, 6951, -1, 0); }

i used that but it inbetween 2 coords

Still, it'd be easy to delete them.![]()
lol its not delet global object to delet the real walls.. lol. wrong wrong wrong
its deletethatwall
edit
OOPSSS GRAVEDUG A LITTLE
| « why does my server not go online?!:( | Help Asap, Something to do with java. » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |