parent
2dcd9ec74a
commit
695686873b
|
@ -55,8 +55,9 @@ command /minigame_skybattle_start:
|
|||
executable by: the console and players
|
||||
permission: skript.op
|
||||
trigger:
|
||||
#execute console command "/gamerule doImmediateRespawn true"
|
||||
set {skybattle::time} to 120
|
||||
execute console command "/gamerule doImmediateRespawn true"
|
||||
# časomíra podle které se nastaví zbytek skriptu
|
||||
set {skybattle::time} to 240
|
||||
clear {skybattle::gaming_players::*}
|
||||
loop 10 times:
|
||||
loop entries of team "IDList%loop-number%":
|
||||
|
@ -202,14 +203,14 @@ command /minigame_skybattle_start:
|
|||
wait 1 second
|
||||
|
||||
if {skybattle::game_status} is "end":
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
send title "&4Konec hry" to all players
|
||||
make console execute command "/function sky:battle"
|
||||
|
||||
set {skybattle::game_on} to "False"
|
||||
wait 3 seconds
|
||||
teleport all players to {skybattle::lobbylocation}
|
||||
set {skybattle::gaming_players::*}'s gamemode to adventure
|
||||
wait 5 seconds
|
||||
execute console command "/stopscript_skybattle"
|
||||
|
||||
function setbordercenter():
|
||||
set {_x} to {skybattle::arena%{skybattle::current_arena}%::border}'s x coord
|
||||
|
|
Loading…
Reference in New Issue