Skocz do zawartości
  • 0

Skrypt - pomoc


ModernDB

Pytanie

Witam.

Potrzebuję pomocy w skrypcie...

Prosiłbym o dodanie do każdej z pod nazw muzyki o nazwie "random.sound" czy jakoś tak...

z góry dziękuję.

command /gm [<text>] [<player>]:
        permission: toolsy.sk
        permission message: &4&l» &cNie masz uprawnien.
        trigger:
                if arg 1 is not set:
                        send "&3/gm 1|2|0"
                if arg 2 is set:
                        if arg 1 is "1":
                                set the gamemode of argument 2 to creative
                                send "&b&l» &3%player% &7zmienil twoj tryb gry na &3(Creative)." to arg 2                                       
                                send "&b&l» &3Zminiels tryb gry gracza &3%arg 2% &7na &3(Creative)."
                                stop
                        if arg 1 is "0":
                                set the gamemode of argument 2 to survival
                                send "&b&l» &3%player% &7zmienil twoj tryb gry na &3(Survival)." to arg 2                                       
                                send "&b&l» &7Zminieles tryb gry gracza &3%arg 2% &7na &3(Survival)."
                        play raw sound "random.click" at loop-player with pitch 1 volume 2
                                stop
                        if arg 1 is "2":
                                set the gamemode of argument 2 to adventure
                                send "&b&l» &3%player% &7zmienil twoj tryb gry na &3(Adventure)." to arg 2                                      
                                send "&b&l» &7Zminiels tryb gry gracza &a%arg 2% &7na &3(Adventure)."
                                stop
                else:
                        if arg 1 is "1":
                                set the gamemode of the player to creative                             
                                send "&b&l» &7Zmeniles swoj tryb gry na &3(Creative)."
                                stop
                        if arg 1 is "0":
                                set the gamemode of the player to survival                     
                                send "&b&l» &7Zmeniles swoj tryb gry na &3(Sruvival)."
                                stop
                        if arg 1 is "2":
                                set the gamemode of the player to adventure                            
                                send "&b&l» &7Zmeniles swoj tryb gry na &3(Adventure)."
 

Odnośnik do komentarza
https://skript.pl/temat/12077-skrypt-pomoc/
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

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ę...