Poprawi ktoś ten kod by działał odpowiednio by odliczał czas gdy jest 2 graczy i gracze nie mogli 2 razy wchodzić na arenę bo ja jakoś nie mogę sobie z tym poradzić ;-;
if arg 1 is "dolacz": if arg 2 is set: if {CastleWar::utworz::%arg 2%} is set: if {CastleWar::status::%arg 2%} is false: if {CastleWar::gracz::gra::%player%} is false: if {CastleWar::arena::ilosc::%arg 2%} is smaller than 2: send "{@tag} &eDolaczyles do areny" add player to {CastleWar::arena::%arg 2%} add 1 to {CastleWar::arena::ilosc::%arg 2%} set {CastleWar::gracz::gra::%player%} to true send "{@tag} &eGracz &a%player% &edolaczyl do areny &c(&a%{CastleWar::arena::ilosc::%arg 2%}%&e/&a2&c)" to all players else: set {CastleWar::status::%arg 2%} to true else: send "{@tag} &eJestes juz na arenie!" else: send "3" to all players send "2" to all players send "1" to all players
Pytanie
mati770ka 120
Poprawi ktoś ten kod by działał odpowiednio by odliczał czas gdy jest 2 graczy i gracze nie mogli 2 razy wchodzić na arenę bo ja jakoś nie mogę sobie z tym poradzić ;-;
if arg 1 is "dolacz": if arg 2 is set: if {CastleWar::utworz::%arg 2%} is set: if {CastleWar::status::%arg 2%} is false: if {CastleWar::gracz::gra::%player%} is false: if {CastleWar::arena::ilosc::%arg 2%} is smaller than 2: send "{@tag} &eDolaczyles do areny" add player to {CastleWar::arena::%arg 2%} add 1 to {CastleWar::arena::ilosc::%arg 2%} set {CastleWar::gracz::gra::%player%} to true send "{@tag} &eGracz &a%player% &edolaczyl do areny &c(&a%{CastleWar::arena::ilosc::%arg 2%}%&e/&a2&c)" to all players else: set {CastleWar::status::%arg 2%} to true else: send "{@tag} &eJestes juz na arenie!" else: send "3" to all players send "2" to all players send "1" to all playersOdnośnik do komentarza
https://skript.pl/temat/4280-poprawi-kto%C5%9B-ten-kod/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi