Why would you delete the whole line why not just do this:
menuActionName[menuActionRow] = "Examine @lre@"+ itemDef.name +"");
|
Hey guys, I'm using the insanityX source, and I've seen people asking about how to delete it so when you right click an item, or object you see the id. Well, here is a fix for that
Open your "client" files and locate "client.java"
Search:
You will see something like this:Code:menuActionName[menuActionRow] = "Examine @lre@" + itemDef.name + ((myPrivilege != 0) ? ", @gre@(@whi@" + item.ID + "@gre@)" : "");
Change the first line to this:Code:menuActionName[menuActionRow] = "Examine @lre@" + itemDef.name + ((myPrivilege != 0) ? ", @gre@(@whi@" + item.ID + "@gre@)" : ""); menuActionID[menuActionRow] = 1448; menuActionCmd1[menuActionRow] = item.ID; menuActionCmd2[menuActionRow] = i1; menuActionCmd3[menuActionRow] = j1; menuActionRow++;
Code:menuActionName[menuActionRow] = "Examine @lre@"+ itemDef.name +"");
Why would you delete the whole line why not just do this:
menuActionName[menuActionRow] = "Examine @lre@"+ itemDef.name +"");
My bad, still learning java
cool I use a command which enables it, but you have to be owner to use it
Not hard...
make the command
like
(Dont know what the client commands look like off the top of my head)Code:::advancedrightclick advancedRightClick = true;
then it make
then make and else if statement likeCode:private boolean advancedRightClick = false;
or make 2 if statementsCode:if advancedrightclick = false { (the non advanced right click) } else { (the advanced right click) }
by the way this is in the wrong sectiong
On the right path to learning, keep it up!
ORCode:"Examine @1re@"+ itemDef.name;
Not sure about this but.
Code:("Examine @1re@"+ itemDef.name +"");
Try using that.
Has no one realized this is in the wrong section ?
ot: already released
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |