Hello i am WiebeHero and i have been recoding my upgrading system for a while but im running into 1 problem:
[doublepost=1507743599,1507743551][/doublepost]
[doublepost=1507744809][/doublepost]Nevermind reopened
[doublepost=1507745770][/doublepost]Nevermind now REALLY solved here is the code for anyone wondering:
Code:
on inventory click:
if cursor slot of player is stone hoe:
if name of cursor slot of player is "&7Stone Club [Lv 1]":
if lore of cursor slot of player is "&7Upgrade Progress 0 / 2":
if name of clicked item is "&7Stone Club [Lv 1]":
cancel the event
set name of player's clicked item to "&7Stone Club [Lv 1]"
set cursor of player to air
So what isnt working properly? Set name of player's clicked item to "&7Stone Club [Lv 1]" and thats what the only problem is.
If anyone can help me with this it would be much appericiated!
Best regards,
WiebeHero
- So what isnt working properly? Set name of player's clicked item to "&7Stone Club [Lv 1]" and thats what the only problem is.If anyone can help me with this it would be much appericiated!
[doublepost=1507744809][/doublepost]Nevermind reopened
[doublepost=1507745770][/doublepost]Nevermind now REALLY solved here is the code for anyone wondering:
Code:
on inventory click:
if cursor slot of player is stone hoe:
if lore of cursor slot of player contains "&7Upgrade Progress: 0 / 2":
if lore of clicked item contains "&7Upgrade Progress: 0 / 2":
cancel the event
set the 6th line of lore of clicked item to "&7Upgrade Progress: 1 / 2"
set cursor of player to air