single appearance of gui

Started by Kooral00 on

Topic category: Help with modding (Java Edition)

Last seen on 16:55, 17. Oct 2023
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
single appearance of gui
Sun, 11/21/2021 - 17:17 (edited)

Hello. I make a GUI in which I choose the player's class and I want it not to appear again after selecting the class. how to do it? I will want to use mods on the server. I want it to appear when someone new enters the server

Edited by Kooral00 on Sun, 11/21/2021 - 17:17
Last seen on 17:06, 2. Aug 2022
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
use variables to check if…
Tue, 11/23/2021 - 13:56

use variables to check if the player already has chosen one, then in the procedure where you call the gui, check for the variable before opening the gui.