Ju_eong d23a7d0dcfea412caf84607e0ea21980
이해도 | 입문자 |
---|---|
게임버전 (JE) | 1.19.2 |
게임버전 (BE) | 관련없음 |
스크립트 버전 | 2.6.4 |
every 1 seconds:
loop all players:
if {스코어보드.%loop-player%} is true:
wipe loop-player's sidebar
set name of sidebar of loop-player to "&b&l좀비 야생 서버"
set score "&e=============" in sidebar of loop-player to 9
set score " " in sidebar of loop-player to 8
set score " 접속자 수 : %number of all players%" in sidebar of loop-player to 7
set score " " in sidebar of loop-player to 6
set score " 소지금 : %loop-player's money%" in sidebar of loop-player to 5
set score " " in sidebar of loop-player to 4
set score " 죽은 횟수 : %{죽은수.%loop-player%}%" in sidebar of loop-player to 3
set score " " in sidebar of loop-player to 2
set score "&e============= " in sidebar of loop-player to 1
variables:
{죽은수.%player%} = 0
on death:
add 1 to {죽은수.%player%}
command /스코어보드 [<string>]:
trigger:
if arg 1 is "켜기":
set {스코어보드.%player%} to true
message "&e스코어보드가 활성화되었습니다."
if arg 1 is "끄기":
set {스코어보드.%player%} to false
message "&e스코어보드가 비활성화되었습니다."
wipe player's sidebar
이 구문중에서
on death:
add 1 to {죽은수.%player%} 이부분이
[Skript] Line 20: (스코어보드.sk)
[04:33:02] [Server thread/INFO] [Console/]: Use 'attacker' and/or 'victim' in damage/death events
[04:33:02] [Server thread/INFO] [Console/]: Line: add 1 to {죽은수.%player%}
이렇게 에러 뜨는데 죽인사람? 을 설정해야하나요?
신이난케빈이
2023.04.22add 1 to {죽은수.%victim%}해보세여
주엉이
2023.04.22해결됐습니다 감사합니다.