How i can get the skywars arena of a player?
there is my code
there is my code
code_language.skript:
#skywars x
import:
me.wazup.skywars.Skywars
me.wazup.skywars.SkywarsAPI as sw
me.wazup.skywars.events.SWPlayerJoinArenaEvent
on SWPlayerJoinArenaEvent:
set {_p} to event.getPlayer()
set {_arena} to event.getArenaName() # works
# not work
command test:
trigger:
set {_x} to sw.isInArena(player) # this is not how you get his arena, but still not work
broadcast "&e%{_x}%"
Last edited: