Jump to content

Recommended Posts

Posted

in actionPerformed:

super.actionPerformed(guibutton);
	switch(guibutton.id) {
	case 1:
		*doing somting*
                        buttonList.clear();
                        buttonList.add(new GuiButton(2, 7, 10, 20, 20, "+"));
		break;
	}

Posted

heh then can you help me with last quastin:can i send info to client when it opening gui?! like is client owner of this block or no.Like IC2 does with Trade O mat.

Posted

i dont need to deny acces,i need to send boolean varible to client,to draw a litle bit diffrent gui.....really,a litle bit.Just one diffrent button,and i dont want to create new gui for that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.