Heya, i am trying to understand one thing, but just cannot understand it. This is the third time it has occurred, but still cannot figure it out..
What the thing is: When you create a "New" interface most of the time; you are going to have buttons that are going to do another thing.. It is very simple to make it so when you click the button it will do such and such... But my problem: i can never figure out how to get the ID of the button so:
Code:
case ButtonIDwhichisunkown:
c.getPA().spellTeleport(2036, 4525, 0);
break;
How would you get the ID of the button it says in the Command Prompt about "sendpacket" but that is not for the button, as for i know. If anyone can explain this to me, or say how to get the id of the button, i will greatly appreciate it! Thank You!