# # # # # # # # # # # # Skript by rafciol # # # # # # # # # # # # # PAMIETAJ ABY ZMIENIC KODOWANIE NA UTF-8 ! ! ! on load: if {glowa::%player%} is not set: set {glowa::%player%} to false if {kasa::%player%} is not set: set {kasa::%player%} to 0 options: # Max kwota za glowe maxkwota: 10000 # UWAGA! Nie ustawiaj minimalnej kwoty ponizej 0 ! minkwota: 100 command /zlecenie : permission: zlecenie.cmd trigger: if arg 1 is not set: send "&cPoprawne uzycie: /zlecenie " if arg 1 is set: if arg 2 is not set: send "&cPoprawne uzycie: /zlecenie " if arg 2 is set: if arg 2 is bigger than {@maxkwota} or smaller than {@minkwota}: send "&cMaksymalna kwota jaka mozesz wyznaczyc za glowe to %{@maxkwota}%!" send "&cMinimalna kwota jaka mozesz wyznaczyc za glowe to %{@minkwota}%!" else: send action bar "&cZa twoja glowe ☠ wyznaczono %arg 2%" to arg 1 set {glowa::%arg 1%} to true command /zleceniehelp []: trigger: send "&c/zlecenie (min: %{@minkwota}%- max: %{@maxkwota}%)" command /zleceniepanel []: permission: zlecenie.admin trigger: wait 0.3 seconds open chest 1 rows named "&cPanel Admina | Zlecenia" to player format slot 0 of player with barrier named "&c&lZakoncz wszystkie zlecenia" with lore "&6Konczy wszystkie aktywne zlecenia!" to close then run [execute console command "/resetzlecenia"] format slot 1 of player with compas named "&a&lNowe zlecenie" with lore "&6Rozpoczyna nowe zlecenie" to close then run [execute player command "/zlecenie"] format slot 2 of player with clock named "&b&lUsun zlecenie" with lore "&6Usuwa zlecenie konkretnego gracza" to close then run [execute console command "/zleceniestop"] command /zleceniestop : permission: zlecenie.admin trigger: set {glowa::%arg 1%} to false command /resetzlecenia: permission: zlecenie.admin trigger: set {glowa::*} to false on death of player: if {glowa::%player%} is true: if attacker is not a player: wait 1 seconds stop if attacker is a player: broadcast "&c%attacker% zabil %victim% i zgarnia nagrode za jego glowe w wysokosci: %arg 2%" set {glowa::%arg 1%} to false add arg 2 to {kasa::%attacker%}