[16:29:51 WARN]: Using an ID instead of an alias is discouraged and will likely not be supported in future versions of Skript anymore. Please replace '133' with e.g. 'emerald block
'. (kupowanie.sk, line 3: if player has 32 133:')
[16:29:51 ERROR]: ('1 310 protection 1' and 'unbreaking 1 named "&bHelm 4/3"') can't be added to a player because the former is neither an item type, an inventory nor an experience
point (kupowanie.sk, line 6: give player 1 310 protection 1 and unbreaking 1 named "&bHelm 4/3"')
Okej, dziala, dzieki.
A wiesz moze jak dodac pare enchantow na jednym itemku?
command /kuphelm43:
trigger:
if player has 32 133:
execute console command "ci %player% 133 50"
execute console command "give %player% 310 1"
give player 1 310 of protection 1 unbreaking 1 named "&eMoneta v1" with lore "&6 Monety wymienisz na /warp villagery"
send "&eZakupiles helm 4/3 za &232 Bloki Emeraldow"
else:
send "&6Nie posiadasz &232 Blokow Emeraldow&6!"
Okej, naprawilem.
command /SprzedajSety:
trigger:
if tool of the player is enchanted with Protection 1:
execute console command "ci %player% 310 1"
give player 1 175 of unbreaking 1 named "&eMoneta v1" with lore "&6 Monety wymienisz na /warp villagery"
send "&6Sprzedales &bDiamentowy helm &6za &eMoneta v1"
else:
send "&6Nie posiadasz &bDiamentowego helmu&6!"
tylko ze ten helm nie znika
Czesc, mam problem ze zrobieniem skryptu ze sprzedawaniem itemow.
Na przykład. Gdy gracz ma Diamentowy helm enchantowany na protection 1, daje mu 5 słonecznikow nazwanych "Moneta v1" z enchantem unbreaking 1.
Na razie wygląda to tak:
command /wymiennagolda:
trigger:
if player has 32 133:
execute console command "ci %player% 133 32"
execute console command "give %player% 41 64"
send "&6Wymieniles &232 Bloki Emeraldow &6na &e64 Bloki Zlota"
else:
send "&6Nie posiadasz &232 Blokow Emeraldow&6!"
command /SprzedajSety:
trigger:
if player has 1 310 enchant Protection 1:
execute console command "ci %player% 310 1"
give player 1 175 of unbreaking 1 named "&eMoneta v1" with lore "&6 Monety wymienisz na /warp villagery"
send "&6Sprzedales &bDiamentowy helm &6za &eMoneta v1"
else:
send "&6Nie posiadasz &bDiamentowego helmu&6!"
Cześć, na wstępie mówię, że jeśli postawiłem temat w złym dziale, prosze o przeniesienie go.
A teraz do rzeczy. Mianowicie chciałbym skrypt, który zastępuje komende /register na /zarejstruj haslo haslo i login na /zaloguj haslo haslo.
Proszę o szybką odpowiedź