Jump to content

Variables, and gui's hurt my brain (NOT ANSWERED)


Mrbizarre

Recommended Posts

So i bought this plugin "(link down below)" however, it doesn't work with custom balance systems like {balance::%player%} it uses items like #need 5 diamonds instead of the #need 5 diamonds i wan't it to be like #need 5 money or #need 5 {balance::%player%} or #need 5 coins

 

PLUGIN LINK: https://shop.minehut.com/products/simple-gui-maker?_pos=2

FULL CODE: Dm on discord ---> human being#0165 <---

 

LINE OF CODE THAT NEEDS TO BE CHANGED FOR THIS TO WORK!:

 

  1. if {_r} contains "##need ":
          replace all "##need " in {_r} with ""
          set {_i} to uncolored {_r} parsed as items
          if number of {_i} in {_p}'s inventory < item amount of {_i}:
            set {_error} to ""
            loop {_error::*}:
              set {_error} to "%{_error}%%loop-value-2%"
              gui_run({_p}, {_error})
            stop
          continue
    

     

Edited by Mrbizarre
Link to comment
Share on other sites

  • Mrbizarre changed the title to Variables, and gui's hurt my brain (NOT ANSWERED)
On 1/24/2022 at 9:25 PM, Mrbizarre said:

I'm not smart enough to do this i have tried about 5 times so it would be so awesome of you if you could please just do it! I can't seem to figure it out.

tysm

Ummm… sir. That’s not how it works. He doesn’t know, and requires assistance, he can’t “do it himself”.

— OMBS —

Hello. I am ombs, a chill server developer and FPS enthusiast.

Currently working on a server with a queue-style arena PVP.

Battle500 is my completed server. 
 

Have a great day!

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...