Skocz do zawartości
  • 0

ranga vip za pieniądze


DrSnooty
 Udostępnij

Pytanie

15 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

@DrSnooty

command /vip:
    trigger:
            if balance of player is greater than or equal to 10000000:
                remove 10000000 from balance from player
                execute console command "/pex user %player% group set vip"
                send "&aZakupiles range vip na 10 min"
                wait 10 minutes 
                execute console command "/pex user %player% group set gracz"
            else: 
                send "&cMasz za malo pieniedzy wymagane jest 10mln"
                 

Nie testowane 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

Dzieki

8 minut temu, Nes0x napisał:

@DrSnooty


command /vip:
    trigger:
            if balance of player is greater than or equal to 10000000:
                remove 10000000 from balance from player
                execute console command "/pex user %player% group set vip"
                send "&aZakupiles range vip na 10 min"
                wait 10 minutes 
                execute console command "/pex user %player% group set gracz"
            else: 
                send "&cMasz za malo pieniedzy wymagane jest 10mln"
                 

Nie testowane 

nie działa jak coś 😜

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
10 godzin temu, Nes0x napisał:

Wyślij może?


 
Spoiler

 

[21:43:59 ERROR]: [Skript] indentation error: expected 8 spaces, but found 12 spaces (ParDragonCore.sk, line 3: if balance of player is greater than or equal to 10000000:')
[21:43:59 ERROR]: [Skript] indentation error: expected 8 spaces, but found 16 spaces (ParDragonCore.sk, line 4: remove 10000000 from balance from player')
[21:43:59 ERROR]: [Skript] indentation error: expected 8 spaces, but found 16 spaces (ParDragonCore.sk, line 5: execute console command "/pex user %player% group set vip"')
[21:43:59 ERROR]: [Skript] indentation error: expected 8 spaces, but found 16 spaces (ParDragonCore.sk, line 6: send "&aZakupiles range vip na 10 min"')
[21:43:59 ERROR]: [Skript] indentation error: expected 8 spaces, but found 16 spaces (ParDragonCore.sk, line 7: wait 10 minutes')
[21:43:59 ERROR]: [Skript] indentation error: expected 8 spaces, but found 16 spaces (ParDragonCore.sk, line 8: execute console command "/pex user %player% group set gracz"')
[21:43:59 ERROR]: [Skript] indentation error: expected 8 spaces, but found 12 spaces (ParDragonCore.sk, line 9: else:')
[21:43:59 ERROR]: [Skript] indentation error: expected 8 spaces, but found 16 spaces (ParDragonCore.sk, line 10: send "&cMasz za malo pieniedzy wymagane jest 10mln"')

 

 

Edytowane przez LjayPL789
bludis

Poprawiam formatowanie.

Notatka dodana przez bludis

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
command /vip:
    trigger:
        if balance of player is greater than or equal to 10000000:
            remove 10000000 from balance from player
            execute console command "/pex user %player% group set vip"
            send "&aZakupiles range vip na 10 min"
            wait 10 minutes 
            execute console command "/pex user %player% group set gracz"
        else: 
            send "&cMasz za malo pieniedzy wymagane jest 10mln"
            

Teraz powinno działać 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
7 minut temu, Nes0x napisał:

command /vip:
    trigger:
        if balance of player is greater than or equal to 10000000:
            remove 10000000 from balance from player
            execute console command "/pex user %player% group set vip"
            send "&aZakupiles range vip na 10 min"
            wait 10 minutes 
            execute console command "/pex user %player% group set gracz"
        else: 
            send "&cMasz za malo pieniedzy wymagane jest 10mln"
            

Teraz powinno działać 

dziala dzieki

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
11 minut temu, Nes0x napisał:

command /vip:
    trigger:
        if balance of player is greater than or equal to 10000000:
            remove 10000000 from balance from player
            execute console command "/pex user %player% group set vip"
            send "&aZakupiles range vip na 10 min"
            wait 10 minutes 
            execute console command "/pex user %player% group set gracz"
        else: 
            send "&cMasz za malo pieniedzy wymagane jest 10mln"
            

Teraz powinno działać 

A dodałbyś jeszcze ze jezeli gracz kupi 2 razy to da mu na 20minut? chodzi ze mozna doladować ten vip

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

a konkretnie 

/pex user nick group add vip * xxx

 

gdzie pod nick dajesz nick, pod * świat na którym ma mieć vipa [daj * jeśli na wszystkich światach] a pod xxx dajesz czas 

 

 

 

command /vip:
    trigger:
        if balance of player is greater than or equal to 10000000:
            remove 10000000 from balance from player
            execute console command "/pex user %player% group add vip * 10m"
            send "&aZakupiles range vip na 10 min"
        else: 
            send "&cMasz za malo pieniedzy wymagane jest 10mln"

 

 

w tym przypadku też jak gracz użyje drugi raz komendy, to przedłuży mu tego vipa

Edytowane przez LjayPL789
bludis

Wstawiam w code.

Notatka dodana przez bludis

Odnośnik do komentarza
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

 Udostępnij

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

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