Skript version: 2.2 dev27
Umbaska version: 3.3
Server version: 1.8.8
My function:
Error:
I do not know where I was wrong, please help me!
Umbaska version: 3.3
Server version: 1.8.8
My function:
code_language.skript:
function boardOnline(PlayerName: player):
wipe {_PlayerName} sidebar
set name of sidebar of {_PlayerName} to "{@boardname}"
set score "{@boardline15}" in sidebar of {_PlayerName} to 0
set score "{@boardline10}" in sidebar of {_PlayerName} to 0
set score "{@boardline9}" in sidebar of {_PlayerName} to 0
set score "{@boardline8}" in sidebar of {_PlayerName} to 0
set score "{@boardline7}" in sidebar of {_PlayerName} to 0
set score "{@boardline6}" in sidebar of {_PlayerName} to 0
set score "{@boardline5}" in sidebar of {_PlayerName} to 0
set score "{@boardline4}" in sidebar of {_PlayerName} to 0
set score "{@boardline3}" in sidebar of {_PlayerName} to 0
set score "{@boardline2}" in sidebar of {_PlayerName} to 0
set score "{@boardline1}" in sidebar of {_PlayerName} to 0
stop
Error:
code_language.skript:
[04:24:10 ERROR]: There's no player in a function event (LoL.sk, line 924: set score "{@boardline8}" in sidebar of {_PlayerName} to 0')
[04:24:10 ERROR]: There's no player in a function event (LoL.sk, line 925: set score "{@boardline7}" in sidebar of {_PlayerName} to 0')
[04:24:10 ERROR]: There's no player in a function event (LoL.sk, line 926: set score "{@boardline6}" in sidebar of {_PlayerName} to 0')
[04:24:10 ERROR]: There's no player in a function event (LoL.sk, line 927: set score "{@boardline5}" in sidebar of {_PlayerName} to 0')
[04:24:10 ERROR]: There's no player in a function event (LoL.sk, line 928: set score "{@boardline4}" in sidebar of {_PlayerName} to 0')
[04:24:10 ERROR]: There's no player in a function event (LoL.sk, line 929: set score "{@boardline3}" in sidebar of {_PlayerName} to 0')
I do not know where I was wrong, please help me!