Skocz do zawartości
  • 0

Ktoś poprawi krótki skrypt


Pytanie

1 lub 2 Errory

on any move:

    if difference between {SideBarCzas::%player%::lastuse} and now is smaller than 10 seconds:
        stop

    set {SideBarCzas::%player%::lastuse} to now

    if player world "Zima_1":
        wipe player sidebar
        set name of sidebar of player to "&f&l&k|&b&lSky Store&f&l&k|"
        set score "&6-=== &e&lSTATYSTYKI &6===-" in sidebar to 4
        set score "&e&lDusze&7: &b%{DuszeHUB1::%player%}%" in sidebar to 3
        set score "&e&lRozpoczęte areny&7: &b0" in sidebar to 2
        set score "&e&lZabójst&7: &b0" in sidebar to 1

Odnośnik do komentarza
https://skript.pl/temat/13051-kto%C5%9B-poprawi-kr%C3%B3tki-skrypt/
Udostępnij na innych stronach

17 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
13 minut temu, AfterProYT napisał:

teraz 4 ale to co dałeś jest dobre

Sprobuj  set {SideBarCzas::%player%::lastuse} to now time

podaj treść błędu

Edytowane przez herro
Odnośnik do komentarza
https://skript.pl/temat/13051-kto%C5%9B-poprawi-kr%C3%B3tki-skrypt/#findComment-91177
Udostępnij na innych stronach

  • 0
3 minuty temu, herro napisał:

if player is in world "Zima_1"

 

1 minutę temu, herro napisał:

Sproboj  set {SideBarCzas::%player%::lastuse} to now time

podaj treść błędu

        set score "&6-" in sidebar to 4
        set score "&e&lD" in sidebar to 3
        set score "&e&lR" in sidebar to 2
        set score "&e&lZ" in sidebar to 1

to pisze że nie działa te cztery error

Odnośnik do komentarza
https://skript.pl/temat/13051-kto%C5%9B-poprawi-kr%C3%B3tki-skrypt/#findComment-91179
Udostępnij na innych stronach

  • 0
9 minut temu, herro napisał:

Sproboj  set {SideBarCzas::%player%::lastuse} to now time

podaj treść błędu

Wcześniej miałem tak         set score "Dusze:" in sidebar of loop-player to 1

ale to loop-player i co gracz dodał dusze to wszystkim graczom jego się pokazywały


6 minut temu, herro napisał:

Masz dodatek SkRayFall?

mam tylko  SkRayFall

//Łącze ~bvcz

Odnośnik do komentarza
https://skript.pl/temat/13051-kto%C5%9B-poprawi-kr%C3%B3tki-skrypt/#findComment-91184
Udostępnij na innych stronach

  • 0
10 minut temu, herro napisał:

Podaj treść błędu jeśli dalej wywala błąd przy 4 linijce spróbuj zamienić  set {SideBarCzas::%player%::lastuse} to time now

chyba trzeba tak         set score "&3Liczba Dusz: &7%{DuszeHUB1::%player%}%" in sidebar of player to 8


10 minut temu, herro napisał:

Podaj treść błędu jeśli dalej wywala błąd przy 4 linijce spróbuj zamienić  set {SideBarCzas::%player%::lastuse} to time now

on any move:
    if difference between {SideBarCzas::%player%::lastuse} and now is smaller than 10 seconds:
        stop
    set {SideBarCzas::%player%::lastuse} to now
    if player is in world "Lol":
        wipe player sidebar
        set name of sidebar of player to "&f&l&k|&b&lSky Store&f&l&k|"
        set score "&3Liczba Dusz: &7%{DuszeHUB1::%player%}%" in sidebar of player to 8    

Działa tak lecz jak jest 2 graczy to sumuje to i daje cały wynik czyli ja mam 10 i gracz 10 to daje liczbę 20 i tak skacze 10 a 20

//Łącze ~bvcz

Odnośnik do komentarza
https://skript.pl/temat/13051-kto%C5%9B-poprawi-kr%C3%B3tki-skrypt/#findComment-91187
Udostępnij na innych stronach

  • 0

variables:
    {DuszeHUB1::%player%} = 0
on any move:
    if difference between {SideBarCzas::%player%::lastuse} and now is smaller than 10 seconds:
        stop
    set {SideBarCzas::%player%::lastuse} to now
    if player is in world "Lol":
        loop all players:
            wipe loop-player sidebar
            set name of sidebar of loop-player to "&f&l&k|&b&lSky Store&f&l&k|"
            set score "&3Liczba Dusz: &7%{DuszeHUB1::%loop-player%}%" in sidebar of loop-player to 8

Odnośnik do komentarza
https://skript.pl/temat/13051-kto%C5%9B-poprawi-kr%C3%B3tki-skrypt/#findComment-91193
Udostępnij na innych stronach

  • 0
3 minuty temu, herro napisał:

variables:
    {DuszeHUB1::%player%} = 0
on any move:
    if difference between {SideBarCzas::%player%::lastuse} and now is smaller than 10 seconds:
        stop
    set {SideBarCzas::%player%::lastuse} to now
    if player is in world "Lol":
        loop all players:
            wipe loop-player sidebar
            set name of sidebar of loop-player to "&f&l&k|&b&lSky Store&f&l&k|"
            set score "&3Liczba Dusz: &7%{DuszeHUB1::%loop-player%}%" in sidebar of loop-player to 8

 

To samo a jak napisze komendę to mi się tylko wyświetla a nie graczom na serwerze 

Odnośnik do komentarza
https://skript.pl/temat/13051-kto%C5%9B-poprawi-kr%C3%B3tki-skrypt/#findComment-91194
Udostępnij na innych stronach

  • 0
1 minutę temu, herro napisał:

Może ty jesteś na świecie "Lol" a ten drugi gracz nie.

jak mam normalny score board to działa ale on jest do kitu bo ma ograniczenie max 16 znaków i nie mogę napisać długiego zdania :(

Odnośnik do komentarza
https://skript.pl/temat/13051-kto%C5%9B-poprawi-kr%C3%B3tki-skrypt/#findComment-91197
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

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