Okay, i need help.
When typing ::interface ID, it logs me out.
And i tried creating a command to open the interface
My command was
Code:
if(command.equalsIgnoreCase("ownershop")&& playerRights >= 3){
showInterface(43);
}
But that didn't work.
I also tried making a command that, when you typed it, it simulated clicking the NPC which opens that interface.
The command was
Code:
if(command.equalsIgnoreCase("ownershop")&& playerRights >= 3){
PutNPCCoords = true;
WanneShop = 43;
}
But that didn't work either.
I don't know what else to do.
Basically what i'm trying to accomplish, is a command that open up an Owner shop.
And remove the npc from the shops area.
Can anyone help me?
PS. Im just a beginner when it comes to coding, thats why my commands may look a little messed up.