Skocz do zawartości
  • 0

Pisanie co 5 sekund!


Chocoszok
 Udostępnij

Pytanie

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

#===================================================#

# #

# | ZMIENNE | #

# #

#===================================================#

variables:

{jobs.wybierz.%player%} = false

{jobs.gornik.%player%} = false

{jobs.drwal.%player%} = false

{jobs.kopacz.%player%} = false

{jobs.zabojca.%player%} = false

{jobs.lowca.%player%} = false

{jobs.budowniczy.%player%} = false

{slow.%player%} = false

#===================================================#

#                                                   #

# |                     CHAT                      | #

#                                                   #

#===================================================#

on chat:

    if {jobs.gornik.%player%} is true:

        if {slow.%player%} is false:

            cancel event

            send "&9[&5Gornik&9] %display name of player% %message%" to all players

            set {slow.%player%} to true

            wait 5 seconds

            set {slow.%player%} to false

        else:

            send "&cNa chacie mozesz pisac co 5 sekund!"

    if {jobs.drwal.%player%} is true:

        if {slow.%player%} is false:

            cancel event

            send "&9[&5Drwal&9] %display name of player% %message%" to all players

            set {slow.%player%} to true

            wait 5 seconds

            set {slow.%player%} to false

        else:

            send "&cNa chacie mozesz pisac co 5 sekund!"

    if {jobs.kopacz.%player%} is true:

        if {slow.%player%} is false:

            cancel event

            send "&9[&5Kopacz&9] %display name of player% %message%" to all players

            set {slow.%player%} to true

            wait 5 seconds

            set {slow.%player%} to false

        else:

            send "&cNa chacie mozesz pisac co 5 sekund!"

    if {jobs.zabojca.%player%} is true:

        if {slow.%player%} is false:

            cancel event

            send "&9[&5Zabojca&9] %display name of player% %message%" to all players

            set {slow.%player%} to true

            wait 5 seconds

            set {slow.%player%} to false

        else:

            send "&cNa chacie mozesz pisac co 5 sekund!"

    if {jobs.lowca.%player%} is true:

        if {slow.%player%} is false:

            cancel event

            send "&9[&5Lowca&9] %display name of player% %message%" to all players

            set {slow.%player%} to true

            wait 5 seconds

            set {slow.%player%} to false

        else:

            send "&cNa chacie mozesz pisac co 5 sekund!"

    if {jobs.budowniczy.%player%} is true:

        if {slow.%player%} is false:

            cancel event

            send "&9[&5Budowniczy&9] %display name of player% %message%" to all players

            set {slow.%player%} to true

            wait 5 seconds

            set {slow.%player%} to false

        else:

            send "&cNa chacie mozesz pisac co 5 sekund!"

Podmień linijki w skrypcie na te podane wyżej :)

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

#===================================================#

# #

# | CHAT | #

# #

#===================================================#

on chat:

if {jobs.gornik.%player%} is true:

if {slow.%player%} is false:

cancel event

send "&9[&5Gornik&9] %display name of player% %message%" to all players

set {slow.%player%} to true

wait 5 seconds

set {slow.%player%} to false

else:

send "&cNa chacie mozesz pisac co 5 sekund!"

if {jobs.drwal.%player%} is true:

if {slow.%player%} is false:

cancel event

send "&9[&5Drwal&9] %display name of player% %message%" to all players

set {slow.%player%} to true

wait 5 seconds

set {slow.%player%} to false

else:

send "&cNa chacie mozesz pisac co 5 sekund!"

if {jobs.kopacz.%player%} is true:

if {slow.%player%} is false:

cancel event

send "&9[&5Kopacz&9] %display name of player% %message%" to all players

set {slow.%player%} to true

wait 5 seconds

set {slow.%player%} to false

else:

send "&cNa chacie mozesz pisac co 5 sekund!"

if {jobs.zabojca.%player%} is true:

if {slow.%player%} is false:

cancel event

send "&9[&5Zabojca&9] %display name of player% %message%" to all players

set {slow.%player%} to true

wait 5 seconds

set {slow.%player%} to false

else:

send "&cNa chacie mozesz pisac co 5 sekund!"

if {jobs.lowca.%player%} is true:

if {slow.%player%} is false:

cancel event

send "&9[&5Lowca&9] %display name of player% %message%" to all players

set {slow.%player%} to true

wait 5 seconds

set {slow.%player%} to false

else:

send "&cNa chacie mozesz pisac co 5 sekund!"

if {jobs.budowniczy.%player%} is true:

if {slow.%player%} is false:

cancel event

send "&9[&5Budowniczy&9] %display name of player% %message%" to all players

set {slow.%player%} to true

wait 5 seconds

set {slow.%player%} to false

else:

send "&cNa chacie mozesz pisac co 5 sekund!"

else:

if {slow.%player%} is false:

cancel event

send "%display name of player% %message%" to all players

set {slow.%player%} to true

wait 5 seconds

set {slow.%player%} to false

else:

send "&cNa chacie mozesz pisac co 5 sekund!"

Edytowane przez astranaar
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ę...