options:l:&7[&6Loteria&7] command /loteria [<text>]:trigger:if arg 1isnotset:send "&6&l[*]&7=============&a&lL&b&lot&3&ler&c&li&6&la&7=============&6&l[*]"send "&3Loteria to gra, w której za 1 koxa mozesz wygrać:"send "&3diamentowe itemy enchant, wiecej koxow, VIP'a"send "&3nether star(0.5 proc), obsydian."send "&3/loteria - &bpomoc"send "&3/loteria los - &blosowanie nagrody"send "&3Za spamienie komenda tylko tracisz koxy :)"send "&3jest 10 proc szansy ze nic nie wylosujesz!"send "&7===============================&6&l[*]"stopif arg 1is"los":if player has 1322:1:remove 1322:1from playerchance of 5%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6WTF? Wygrales &6&lVIP'a &6na 2 godziny!"execute console command "/setrank %player% VIP 2h"broadcast "{@l} Brawo! &e%player% &6Wygral &6&lVIP'a &6na 2 godziny!"stopchance of 0.5%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6WTF?! Wygrales &6&l1 Nether Star&6!"give 1299 to the playerbroadcast "{&l} Brawo! &e%player% &6Wygral 1 Nether Star!"stopchance of 4.5%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Brawo! Wygrales 3 Enchanted golden apple!"give 3322:1 to the playerstopchance of 2%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Wow! Wygrales mieczyk &eSharpness 3, looting 4, fire 2&6!"give a 276 of sharpness 3and looting 4and fire aspect 2 named "&5Mieczyk z Loterii" to the playerstopchance of 2%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Wow! Wygrales mieczyk &eSharpness 4, knockback 4, looting 1"give a 276 of sharpness 4and knockback 4and looting 1 named "&2Mieczyk z Loterii" to the playerstopchance of 1%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Brawo! Wygrales 5 Enchanted golden apple!"give 5322:1 to the playerstopchance of 15%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Wygrales 3 stacki obsydianu!"give 19249 to the player stopchance of 10%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Ciesz sie! Wygrales chelm &eProtection 4, unbreaking 4&6!"give a 310 of protection 4and unbreaking 4 named "&1Chelm z Loterii" to the playerstopchance of 10%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Ciesz sie! Wygrales buty &eProtection 3, unbreaking 2, Feather Falling 7&6!"give a 313 of protection 3and unbreaking 2and feather falling 7 named "&1Buty z Loterii" to the playerstopchance of 10%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Ciesz sie! Wygrales spodnie &eProtection 4, unbreaking 2, thorns 2&6!"give a 312 of protection 4and unbreaking 2and thorns 2 named "&1Spodnie z Loterii" to the playerstopchance of 10%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Ciesz sie! Wygrales klate &eProtection 4, unbreaking 1, thorns 3, fire protection 7&6!"give a 311 of protection 4and unbreaking 1and fire protection 7and thorns 3 named "&2Klata z Loterii" to the playerstopchance of 20%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Wygrales 6 blokow diamentu!"give 657 to the playerstopchance of 10%:send "{@l} &t6Losuje nagrode..."wait 3 secondsend "{@l} &6Niestety nic nie wygrales. Spróbuj ponownie! :)"stopelse:send "{@l} &6Nie masz 1 Enchanted golden apple - nie mozesz grac."cancel event
i nie wiem w czym jest błąd, bo jak wpisuje /loteria los, to pierwsze kilka "losowań" jest normalnie, a potem sie nie losuje, poznaje to po tym ze sie nie wyświetla "[Losowanie] Losuje nagrode...", koxa zabiera a nie daje nagrody, ani sie nie wyswietla ze losuje... pomoże ktoś?
Wytabowane: Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść! <--- ten sam problem...
Pytanie
YaPaczeq 3
cześć, ostatnio napisałem taki oto skrypt:
i nie wiem w czym jest błąd, bo jak wpisuje /loteria los, to pierwsze kilka "losowań" jest normalnie, a potem sie nie losuje, poznaje to po tym ze sie nie wyświetla "[Losowanie] Losuje nagrode...", koxa zabiera a nie daje nagrody, ani sie nie wyswietla ze losuje... pomoże ktoś?
Edytowane przez EwaldWytabowane:
Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść! <--- ten sam problem...
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi