So I basically have this skript right now, but it displays the cooldown time in English, and I wanted to ask if there's any way to translate/make a custom display message for time.
If there is I would want it to display it in Hungarian, so "seconds" would be "másodperc".
[doublepost=1556287098,1556285257][/doublepost]already done, with an own method, sorry for posting
[doublepost=1556287135][/doublepost]this is the way I made it:
If there is I would want it to display it in Hungarian, so "seconds" would be "másodperc".
Code:
options:
effektdinnye: 10 seconds
on right click holding glistering melon:
if name of player's tool is "&6&lArany Répucis Dinnye?":
set {_várt} to difference between {effektdinnye.%player%} and now
if {_várt} is less than {@effektdinnye}:
send "&6&lBalker&eCraft &8» &eEhhez még várnod kell %difference between {@effektdinnye} and {_várt}% másodpercet!"
stop
else:
set {effektdinnye.%player%} to now
apply strength of tier 2 to player for 10 seconds
apply speed of tier 5 to player for 10 seconds
remove 1 glistering melon from the player's tool
send "&6&lBalker&eCraft &8» &eSikeres használat!"
stop
[doublepost=1556287135][/doublepost]this is the way I made it:
Code:
options:
effektdinnye: 10 seconds
on right click holding glistering melon:
if name of player's tool is "&6&lArany Répucis Dinnye?":
set {_várt} to difference between {effektdinnye.%player%} and now
if {_várt} is less than {@effektdinnye}:
send "&6&lBalker&eCraft &8» &eEhhez még várnod kell %{cdvárt.%player%}% másodpercet!"
stop
else:
set {effektdinnye.%player%} to now
apply strength of tier 2 to player for 10 seconds
apply speed of tier 5 to player for 10 seconds
remove 1 glistering melon from the player's tool
set {cdvárt.%player%} to 10
send "&6&lBalker&eCraft &8» &eSikeres használat!"
stop
every 1 second:
loop all players:
set {cdvárt.%loop-player%} to {cdvárt.%loop-player%}-1