Nerdrod_2 3 Opublikowano 17 lipca 2014 Udostępnij Opublikowano 17 lipca 2014 Skript za log out gdy gracz jest podczas walki wylatuja z niego itemki jego eq sie clearuje i dostaje bana na 3 mini jescze komeda na sprawdzanie czy jestes podczas walki Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 PoweredDragon 1016 Opublikowano 17 lipca 2014 Udostępnij Opublikowano 17 lipca 2014 every 30 seconds: loop all players: {fight.%loop-player%} is true: set {fight.%loop-player%} to false send "&cMozesz sie juz wylogowac!" to loop-playeron damage: set {fight.%attacker%} to true set {fight.%victim%} to true send "&cJestes teraz w walce! Nie wylogowuj sie!" to victim send "&cJestes teraz w walce! Nie wylogowuj sie!" to attacker on quit: {fight.%player%} is true: loop all items in inventory of player: drop loop-item at location of player clear loop-player's inventory set {banned.%player%} to now clear {fight.%player%on join: set {_dif} to difference between {banned.%player%} and now {_dif} is less than 3 minutes: kick player because "&cZostales zbanowany!' clear {fight.%player%} Nerdrod_2 1 Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
0 Nerdrod_2 3 Opublikowano 17 lipca 2014 Autor Udostępnij Opublikowano 17 lipca 2014 Troche przerobiłem twój skrypt myśle ze sie nie obrazisz on damage of a player: set {fight.%attacker%} to true set {fight.%victim%} to true send "&cJestes teraz w walce! Nie wylogowuj sie!" to victim send "&cJestes teraz w walce! Nie wylogowuj sie!" to attacker wait 30 second: set {fight.%loop-player%} to false send "&cMozesz sie juz wylogowac!" to attacker send "&cMozesz sie juz wylogowac!" to victim on quit: {fight.%player%} is true: loop all items in inventory of player: drop loop-item at location of player clear player's inventory set {banned.%player%} to now clear {fight.%player%} set {kara.%player%} to 180 on join: if {kara.%player%} is bigger than 1: kick player because "&cZostales zbanowany za logout podczas walki pozostaly czas {kara.%player%}" if {kara.%player%} is not set: set {kara.%player%} to -1 every 1 second: loop all players: {kara.%loop-player%} is bigger than 1: {kara.%loop-player%} is less than 0: set {kara.%loop-player%} to {kara.%loop-player%}-1 Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Pytanie
Nerdrod_2 3
Skript za log out gdy gracz jest podczas walki wylatuja z niego itemki jego eq sie clearuje i dostaje bana na 3 min
i jescze komeda na sprawdzanie czy jestes podczas walki
Odnośnik do komentarza
Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi