Skocz do zawartości

KubaX

Użytkownik
  • Ilość zawartości

    2
  • Rejestracja

  • Ostatnia wizyta

Informacje

  • Hobby
    Skryptowanie

Osiągnięcia KubaX

Świeżak

Świeżak (1/13)

0

Reputacja

  1. Dzięki chłopaki skorzystam i poprawie jak cos nie bedzie działać to jeszcze napisze
  2. Witam, mam problem z poniższym skryptem prosiłbym o wysłanie prawidłowego kodu oraz wytłumaczenie na czym polega błąd Skrypt : command /utworzevent [<text>] [<number>] permission: kubax.eventcreate permissionmessage: &4&kSDF &4&uNie masz wystarczających uprawnień! &4&kSDD trigger: if arg 1 not set: send title "&cBlad!" for 3 seconds send "&4&kSDD &4&u Błąd! &aPoprawne użycie &f: &a/utworzevent &f[&6Nazwa&f] &f[&6Czas TP&f]" to player stop if arg 2 not set: send title "&cBlad!" for 3 seconds send "&4&kSDD &4&u Błąd! &aPoprawne użycie &f: &a/utworzevent &f[&6Nazwa&f] &f[&6Czas TP&f]" to player stop if {nazwaeventu} is not set send "&4&kSDD &cObecnie jest włączone tp na inny event! Poczekaj chwilę! &4&kSDD" if arg 1 and arg 2 is set: set {nazwaeventu} to arg 1 set {organizator} to %player% set {eventtrwa} to 1 set {wejscianaevent} 0 send "&bRozpoczął się event %arg 1%!" to all players wait 3 seconds send "&bAby dołączyć na event wpisz /eventdolacz %arg 1%" to all players send "&bTp zamyka się po &6%arg 2% &bsekundach!" to all players wait %arg 2% seconds send "&4&kSDD &cTP ZAMKNIĘTE! &4&kSDD" to all players command /eventdolacz: trigger: if {nazwaeventu} is not set send "&bObecnie nie trwa żaden event z otwartym tp!" to player stop else execute console command "tp %player% to {organizator}" send "&bDołączyłeś do eventu!" add 1 to {wejscianaevent} command /eventinfo: trigger: if {nazwaeventu} is not set send "&b» &fInfo Event! &b«" to player send "&f Organizator eventu to : &4Brak Eventu!" to player send "&f Nazwa eventu to : &4Brak Eventu!" to player send "&b» &cNetherowe Wzgórza &b«" to player else send "&b» &fInfo Event! &b«" to player send "&f Organizator eventu to : &6{organizator}" to player send "&f Nazwa eventu to : &6{nazwaeventu}" to player send "&b» &cNetherowe Wzgórza &b«" to player command /zakonczevent: permission: kubax.eventzakoncz permissionmessage: &4&kSDF &4&uNie masz wystarczających uprawnień! &4&kSDD trigger: if {eventtrwa} is not set send "&bNie trwa obecnie żaden event!" to player else delete {organizator} delete {eventtrwa} delete {nazwaeventu} send "&bEvent pomyślnie zakończony!" to player send "&bEvent został zakończony! Było na nim &6{wejscianaevent} &bgraczy! Dziękujemy za obecność!" delete {wejscianaevent} Błędy :
×
×
  • Dodaj nową pozycję...