PDA

View Full Version : [613/614] adding a way to see what object you clicked in the cmd



77tontos
October 3rd, 2010, 02:19
This will teach you how to know what objects you are clicking to make it easier to find an id


in /rsobjects/rsobjectregion.java




search for this...


public void loadSpawnObjects





under that add this code


client c = (client) server.playerHandler.players[a]; System.out.println(""+c.playerName+" Clicked: " + c.actionButtonId + "");

yes this does work try it out even though its a different type of code.

Trey
October 3rd, 2010, 02:20
Any moron could do this themselves. This isn't tutorial-worthy.