@Fendi
on inventory click:
if name of event-inventory is "&8» &9Zakup rang":
cancel event
if clicked slot is 10:
close player's inventory
if {betteritemshop::wpln::%player%} >= {@rank1-price}:
remove {@rank1-price} from {betteritemshop::wpln::%player%}
execute command "{@rank1-cmd}"
send "{@prefix} &aPomyslnie zakupiles {@rank1-name}&a za &f{@rank1-price} {@waluta}"
send "&aObecnie posiadasz: &f%{betteritemshop::wpln::%player%}% {@waluta}"
send "" to all players
send "&8+&8&m &8+" to all players
send "" to all players
send "&7Gracz &a%player% &7zakupił {@rank1-name}" to all players
send "" to all players
send "&8+&8&m &8+" to all players
send "" to all players
set {_x} to chest inventory with 1 row named "TEST"
set slot 4 of {_x} to player head named "&cTest" with lore "&7Liczba kliknięć: %{liczbakl}%"
open {_x} to player
on inventory click:
event-iventory is not player's inventory
cancel event if name of event-inventory is "TEST"
clicked slot is 4
add 1 to {liczbakl}
close player's inventory
Zrobiłby ktoś skrypt, w którym jeśli slot 13 zostanie kliknięty (if slot 13 clicked coś tym stylu:)
To wyświetli się menu w którym będzie główka o nazwie &c&lTEST z opisem &7Liczba kliknięć:
No i jeśli gracz kliknie tą główkę to liczba kliknięć rośnie o 1 i wyłącza te menu.
Nie wiem czy to plugin czy skrypt, ale zauważyłem że np na acmc są 2 waluty jedna to PLN a druga to monety.
I się zastanawiam jak dodać PLN. Jest jakiś plugin na to czy co? Pomógłby mi ktoś z tym? Bo chcę żeby te PLN też miało hologram na scoreboardzie (czyli w informacjach o graczu np. PLN: (ilość)