Skocz do zawartości
  • 0

100 problemow


Nieaktywny
 Udostępnij

Pytanie

options:
    n: nazwaminigry
    #legendarne
    r1: Wieloryb
    r2: Orka
    r3: Kraken 
    #niesamowite
    r4: Rekin
    r5: Dorada
    r6: Meduza
    r7: Kalamarnica
    r8: Breadfish
    r9: Magikarp
    #normalne
    r10: Plaszczka
    r11: Sandacz
    r12: Sola
    r13: Miruna

on player fishing:
    set {fish.%player%} to 1
    wait 1 second
    if {fish.%player%} is 1:
        set {fish.%player%} to 0
on pickup of raw fish:
    if {fish.%player%} is 1:
        set {fish.%player%} to 0
        set {_r1} to {@r1}
        set {_r2} to {@r2}
        set {_r3} to {@r3}
        set {_r4} to {@r4}
        set {_r5} to {@r5}
        set {_r6} to {@r6}
        set {_r7} to {@r7}
        set {_r8} to {@r8}
        set {_r9} to {@r9}
        set {_r10} to {@r10}
        set {_r11} to {@r11}
        set {_r12} to {@r12}
        set {_r13} to {@r13}
        chance of 5%:
            set {_r} to {_r1},{_r2} or {_r3}
        chance of 20%:
            set {_r} to {_r4},{_r5},{_r6},{_r7},{_r8} or {_r9}
            if {_r} is {_r8):
                stop
                if {_r} is {_r1},{_r2} or {_r3}:
                    set {_cm} to a random number between 500 and 900
                    set {_mm} to a random number between 0 and 10
                else:
                    set {_cm} to a random number between 5 and 200
                    set {_mm} to a random number between 0 and 10
                    message "&7[&8%{@n}%&7] &eZlapales &6%{_cm}%.%{_mm}%%{_r}%"

 

 

[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Wieloryb' (fishing.sk, line 28: set {_r1} to {@r1}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Orka' (fishing.sk, line 29: set {_r2} to {@r2}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Kraken' (fishing.sk, line 30: set {_r3} to {@r3}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Rekin' (fishing.sk, line 31: set {_r4} to {@r4}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Dorada' (fishing.sk, line 32: set {_r5} to {@r5}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Meduza' (fishing.sk, line 33: set {_r6} to {@r6}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Kalamarnica' (fishing.sk, line 34: set {_r7} to {@r7}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Breadfish' (fishing.sk, line 35: set {_r8} to {@r8}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Magikarp' (fishing.sk, line 36: set {_r9} to {@r9}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Plaszczka' (fishing.sk, line 37: set {_r10} to {@r10}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Sandacz' (fishing.sk, line 38: set {_r11} to {@r11}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Sola' (fishing.sk, line 39: set {_r12} to {@r12}')
[19:46:25] [Server thread/ERROR]: Can't understand this expression: 'Miruna' (fishing.sk, line 40: set {_r13} to {@r13}')
[19:46:25] [Server thread/INFO]: Initing change, [{_r}, ({_r1}, {_r2} or {_r3})]
[19:46:25] [Server thread/INFO]: Initing change, [{_r}, ({_r4}, {_r5}, {_r6}, {_r7}, {_r8} or {_r9})]
[19:46:25] [Server thread/ERROR]: Invalid amount or placement of brackets. Please make sure that each opening bracket has a corresponding closing bracket. (fishing.sk, line 45: if {_r} is {_r8):')

 

Pomocy!

Odnośnik do komentarza
Udostępnij na innych stronach

4 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
13 minut temu, Norbi napisał:
{_r1},{_r2}

po przecinku musi być spacja.

 

 if {_r} is {_r8):

tu masz zamykający nawias okrągły zamiast zamykającej klamry

jeszcze to:

 

[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Wieloryb' (fishing.sk, line 28: set {_r1} to {@r1}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Orka' (fishing.sk, line 29: set {_r2} to {@r2}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Kraken' (fishing.sk, line 30: set {_r3} to {@r3}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Rekin' (fishing.sk, line 31: set {_r4} to {@r4}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Dorada' (fishing.sk, line 32: set {_r5} to {@r5}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Meduza' (fishing.sk, line 33: set {_r6} to {@r6}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Kalamarnica' (fishing.sk, line 34: set {_r7} to {@r7}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Breadfish' (fishing.sk, line 35: set {_r8} to {@r8}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Magikarp' (fishing.sk, line 36: set {_r9} to {@r9}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Plaszczka' (fishing.sk, line 37: set {_r10} to {@r10}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Sandacz' (fishing.sk, line 38: set {_r11} to {@r11}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Sola' (fishing.sk, line 39: set {_r12} to {@r12}')
[21:21:34] [Server thread/ERROR]: [Skript] Can't understand this expression: 'Miruna' (fishing.sk, line 40: set {_r13} to {@r13}')

 

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...