1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Players name as variable

Discussion in 'Requests' started by Mjatt_, Dec 11, 2021.

  1. Mjatt_

    Mjatt_ Member

    Joined:
    Sep 8, 2021
    Messages:
    2
    Likes Received:
    0
    Hey there,

    I'm relatively new to coding/skript and wanted to open an GUI when clicking on another player. So that would start with on right click on player bla bla bla. But i want the name of the GUI as the name of the player you clicked on. Could anyone help? I cannot figure it out.

    All help is appreciated :emoji_smile:
     
  2. yea rite

    yea rite Active Member

    Joined:
    Jul 11, 2021
    Messages:
    73
    Likes Received:
    5
    do you need it to be location specific?
     
  3. Mjatt_

    Mjatt_ Member

    Joined:
    Sep 8, 2021
    Messages:
    2
    Likes Received:
    0
    I need it as the name of the GUI so if you open it the name of the GUI is the player's ign.
     
  4. yea rite

    yea rite Active Member

    Joined:
    Jul 11, 2021
    Messages:
    73
    Likes Received:
    5
    just use %player%
     

Share This Page

Loading...