Skocz do zawartości

Axecy

Użytkownik
  • Ilość zawartości

    4
  • Rejestracja

  • Ostatnia wizyta

Osiągnięcia Axecy

Świeżak

Świeżak (1/13)

0

Reputacja

  1. dzk, else if zadziałało jak ktoś potrzebuje kod (bo wiem że niektórzy szukają takie queue gui rzeczy) (czyli ja) variables: {queue.%player%} = 0 {playing.%player%} = 0 options: czerwony: <##ff0000> zloty: &6 blad: &c sukces: &a inny: &7 command /queue <string> [<string>] [<string>]: trigger: if arg-1 is "normal": if arg-2 is "join": if arg-3 is "axe": if {queue.%player%} is 1: send "{@blad}You're already queued!" to player else: set {queue.%player%} to 1 send "{@sukces}Added to {@zloty}axe {@sukces}queue!" to player if arg-2 is "leave": if {queue.%player%} is 1: set {queue.%player%} to 0 send "{@blad}Left {@zloty}axe {@blad}queue!" to player if arg-2 is not set: set {_gui} to chest inventory with 3 rows named "Normal Queue" open {_gui} to player set slot 0 of {_gui} to shield named "{@czerwony}&lAxe" with lore " " and " {@inny}› {@czerwony}Queued {@inny}→ {@zloty}%{queue.%player%}%" and " {@inny}➥ {@czerwony}Playing {@inny}→ {@zloty}%{playing.%player%}%" and " " and "{@czerwony}Click to {@zloty}Queue" on inventory click: if name of event-inventory is "Normal Queue": cancel event if index of event-slot is 0: if {queue.%player%} is 0: send "set to 1" to player wait 1 second set {queue.%player%} to 1 else if {queue.%player%} is 1: send "reset" to player wait 1 second set {queue.%player%} to 0
  2. zapomniałeś/aś ustawić zmiennę możliwe variables: {kaska.%attacker%} = 0 config: jakaśzmienna: coś tam Czy na pewno {kaska.%player%}? nie miało to dać dla attacker? spróbuj to, może zadziała on death of player: if attacker is player: if name of attacker's tool is "{@Mnazwa1}": if {kaska.%attacker%} is more than 8: chance of {@MdropH1-1gr}%: send title "{@titleKILL}" with subtitle "{@subtitleKILL} 0.01zł!" to attacker for {@titleTimeKILL} second broadcast "{@chatKILL} 0.01zł!" add 0.01 to {kaska.%attacker%} else: chance of {@Mdrop1-1gr}%: send title "{@titleKILL}" with subtitle "{@subtitleKILL} 0.01zł!" to attacker for {@titleTimeKILL} second broadcast "{@chatKILL} 0.01zł!" add 0.01 to {kaska.%attacker%}
  3. variables: {queued.%player%} = 0 {playing.%player%} = 0 options: accent: <##ff0000> main: &6 error: &c success: &a other: &7 command /skriptqueue <string> [<string>] [<string>]: trigger: if arg-1 is "normal": if arg-2 is "join": if arg-3 is "axe": if {queued.%player%} is 1: send "{@error}You're already queued!" to player else: set {queued.%player%} to 1 send "{@success}Added to {@main}axe {@success}queue!" to player if arg-2 is "leave": if {queued.%player%} is 1: set {queued.%player%} to 0 send "{@error}Left {@main}axe {@error}queue!" to player if arg-2 is not set: set {_gui} to chest inventory with 3 rows named "Normal Queue" open {_gui} to player set slot 0 of {_gui} to shield named "<##ff0000>&lAxe" with lore " " and " {@other}› {@accent}Queued {@other}→ {@main}%{queued.%player%}%" and " {@other}➥ {@accent}Playing {@other}→ {@main}%{playing.%player%}%" and " " and "{@accent}Click to {@main}Queue" on inventory click: if name of event-inventory is "Normal Queue": cancel event if index of event-slot is 0: if {queued.%player%} is 0: send "0" to player set {queued.%player%} to 1 if {queued.%player%} is not set: send "not set" to player set {queued.%player%} to 1 if {queued.%player%} is 1: send "1" to player set {queued.%player%} to 0 albo nie, prześlę ten cały kod lepiej bo będą osoby płakać o ten kod xdd
  4. mam mały problem z skryptem robię skript na 1v1 i 1v1 poczekalnię on inventory click: if name of event-inventory is "Normal Queue": cancel event if index of event-slot is 0: if {queued.%player%} is 0: send "0" to player set {queued.%player%} to 1 if {queued.%player%} is not set: send "not set" to player set {queued.%player%} to 1 if {queued.%player%} is 1: send "1" to player set {queued.%player%} to 0 variables: {queued.%player%} = 0 nie wyskakują żadne errory jak ktoś kliknie pierwszy raz (if ... is not set) to wtedy wyskoczy 0 i 1 (a powinno wyskoczyć tylko 0) jak kliknie znowu i jest 0, to wtedy wyskoczy rowniez 0 i 1 (a powinno wyskoczyć tylko 0) a jak jest 1 to powinno wyskoczyć tylko 1 czyli widocznie sprawdza od razu czy {queued.%player%} wynosi 1, i wtedy robi se taki loop z stwierdzeniami jak mogę inaczej to zrobić? i jak możecie to przyślijcie kod na to. jak potrzebujecie cały kod mój to przyślę
×
×
  • Dodaj nową pozycję...