Najlepsza odpowiedź PoweredDragon , 02 November 2013 - 19:29
PPM i zapisz jako. NIE KOPIUJ
http://pastebin.com/raw.php?i=ecp3LrVK
Przejdź do postuNajlepsza odpowiedź PoweredDragon , 02 November 2013 - 19:29
PPM i zapisz jako. NIE KOPIUJ
http://pastebin.com/raw.php?i=ecp3LrVK
Przejdź do postuNapisano 02 November 2013 - 09:43
Sorry, że Was zasypuje ostatnio tematami dotyczącymi skripta, ale zacząłem się tym bawić na poważnie.
Mój skript na rosyjską ruletkę:
command /rr: description: Rosyjska ruletka permission: WSK.rr permission message: &6&l> &r&cNie mozesz zagrasac w rosyjska ruletke! trigger: player is holding a diamond: remove 1 diamond from player's tool chance of 50%: kill player chance of 20%: give 3 iron ingot to player chance of 5%: give diamond to player chance of 2%: give 5 diamonds to player chance of 0.3%: give 9 diamonds to player chance of 2%: give 1 golden apple to player chance of 3.5%: give 1 emerald to player chance of 0.25%: give 1 enchanted golden apple to player chance of 5%: give 1 golden sword to player chance of 2%: give 5 golden ingots to player chance of 3.5%: give 16 cooked porkchops to player else: send "&6&l> &r&cMusisz trzymac diament w rece!"
Wszystko działa normalnie kiedy mam opa, ale nie trzymam diaxa w ręce:
Ale kiedy nie mam już uprawnień permission message wyświetla się następująco:
Jak to naprawić, tak aby ta wiadomość była w tym samym stylu co poprzednia.
I teraz drugie pytanie:
Czy da się zrobić w tym moim skripcie, aby nie następowały jednocześnie dwa zdarzenia? Np. śmierć i dostanie diaxów,
Napisano 02 November 2013 - 10:47
command /rr: description: Rosyjska ruletka permission: WSK.rr permission message: "&6&l> &r&cNie mozesz zagrasac w rosyjska ruletke!" trigger: player is holding a diamond: remove 1 diamond from player's tool chance of 50%: kill player chance of 20%: give 3 iron ingot to player chance of 5%: give diamond to player chance of 2%: give 5 diamonds to player chance of 0.3%: give 9 diamonds to player chance of 2%: give 1 golden apple to player chance of 3.5%: give 1 emerald to player chance of 0.25%: give 1 enchanted golden apple to player chance of 5%: give 1 golden sword to player chance of 2%: give 5 golden ingots to player chance of 3.5%: give 16 cooked porkchops to player else: send "&6&l> &r&cMusisz trzymac diament w rece!"
Napisano 02 November 2013 - 12:03
Napisano 02 November 2013 - 13:09
Usuń linijkę permission message:
command /rr: description: Rosyjska ruletka permission: WSK.rr trigger: player is holding a diamond: player have permission "WSK.rr": remove 1 diamond from player's tool chance of 50%: kill player chance of 20%: give 3 iron ingot to player chance of 5%: give diamond to player chance of 2%: give 5 diamonds to player chance of 0.3%: give 9 diamonds to player chance of 2%: give 1 golden apple to player chance of 3.5%: give 1 emerald to player chance of 0.25%: give 1 enchanted golden apple to player chance of 5%: give 1 golden sword to player chance of 2%: give 5 golden ingots to player chance of 3.5%: give 16 cooked porkchops to player else: send "&6&l> &r&cNie mozesz zagrasac w rosyjska ruletke!" else: send "&6&l> &r&cMusisz trzymac diament w rece!"
Oprócz tego, znalazłem[nie wiem czy błąd] Gracz może wygrać na raz więcej niż jedną nagrodę Jeśli tak ma być to zostaw, a jak nie to pod każdym chancem napisz efekt: stop
Napisano 02 November 2013 - 15:35
Dalej nie działa, confing:
command /rr: description: Rosyjska ruletka permission: WSK.rr trigger: player is holding a diamond player have permission "WSK.rr": remove 1 diamond from player's tool chance of 50%: kill player chance of 20%: give 3 iron ingot to player chance of 5%: give diamond to player chance of 2%: give 5 diamonds to player chance of 0.3%: give 9 diamonds to player chance of 2%: give 1 golden apple to player chance of 3.5%: give 1 emerald to player chance of 0.25%: give 1 enchanted golden apple to player chance of 5%: give 1 golden sword to player chance of 2%: give 5 golden ingots to player chance of 3.5%: give 16 cooked porkchops to player else: send "&6&l> &r&cNie mozesz zagrasac w rosyjska ruletke!" if else: send "&6&l> &r&cMusisz trzymac diament w rece!"
Wyeliminowałem wszystkie błędy o które krzyczy oprócz tego:
can't understend tfis condition "else" (rosyjskaruletka.sk, line 32: ;if else:'
U Ciebie na pewno wszystko działało? Teraz w ponad 30 próbach nie zginąłem ani razu...
Umiesz to naprawić?
Mógłbyś od razu wysłać confing z tym efekt: stop?
Napisano 02 November 2013 - 16:33
Wywala około 40 błędów, confing:
command /rr: description: Rosyjska ruletka permission: WSK.rr trigger: player is holding a diamond: player have permission "WSK.rr": remove 1 diamond from player's tool chance of 50%: kill player stop chance of 20%: give 3 iron ingot to player stop chance of 5%: give diamond to player stop chance of 2%: give 5 diamonds to player stop chance of 0.3%: give 9 diamonds to player stop chance of 2%: give 1 golden apple to player stop chance of 3.5%: give 1 emerald to player stop chance of 0.25%: give 1 enchanted golden apple to player stop chance of 5%: give 1 golden sword to player stop chance of 2%: give 5 gold ingots to player stop chance of 3.5%: give 16 cooked porkchops to player stop else: send "&6&l> &r&cNie mozesz zagrasac w rosyjska ruletke!" else: send "&6&l> &r&cMusisz trzymac diament w rece!"
Wogóle jakby nie było komendy, nie zjada diaxów, itp.
Napisano 02 November 2013 - 16:48
Dalej to samo
Logi konsolki:
command /rr: description: Rosyjska ruletka permission: WSK.rr trigger: player is holding a diamond: player have permission "WSK.rr": remove 1 diamond from player's tool chance of 50%: kill player stop chance of 20%: give 3 iron ingot to player stop chance of 5%: give diamond to player stop chance of 2%: give 5 diamonds to player stop chance of 0.3%: give 9 diamonds to player stop chance of 2%: give 1 golden apple to player stop chance of 3.5%: give 1 emerald to player stop chance of 0.25%: give 1 enchanted golden apple to player stop chance of 5%: give 1 golden sword to player stop chance of 2%: give 5 gold ingots to player stop chance of 3.5%: give 16 cooked porkchops to player stop else: send "&6&l> &r&cNie mozesz zagrasac w rosyjska ruletke!" else: send "&6&l> &r&cMusisz trzymac diament w rece!"
Napisano 02 November 2013 - 17:52
Dalej nic, logi z konsolki:
Napisano 02 November 2013 - 18:35
Wszędzie jest:
command /rr: description: Rosyjska ruletka permission: WSK.rr trigger: player is holding a diamond: player have permission "WSK.rr": remove 1 diamond from player's tool chance of 50%: kill player stop chance of 20%: give 3 iron ingot to player stop chance of 5%: give diamond to player stop chance of 2%: give 5 diamonds to player stop chance of 0.3%: give 9 diamonds to player stop chance of 2%: give 1 golden apple to player stop chance of 3.5%: give 1 emerald to player stop chance of 0.25%: give 1 enchanted golden apple to player stop chance of 5%: give 1 golden sword to player stop chance of 2%: give 5 gold ingots to player stop chance of 3.5%: give 16 cooked porkchops to player stop else: send "&6&l> &r&cNie mozesz zagrasac w rosyjska ruletke!" else: send "&6&l> &r&cMusisz trzymac diament w rece!"
Napisano 02 November 2013 - 18:53
Napisano 02 November 2013 - 19:50
Jak zmienić rozszerzenie pliku pobranego na .sk?
Napisano 02 November 2013 - 20:56
Niestety dalej nie działa, pisze normalnie, ze nie mam uprawnień...
Wogóle nie umarłem ani razu przez 40 "rund". Tam w kodzie jest napewno wszystko ok?