Sync
This commit is contained in:
@@ -32,4 +32,12 @@ function hideNavBar() {
|
||||
for (const button of uiButton.children) {
|
||||
button.removeAttribute("hidden")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.onload = () => {
|
||||
system.call("server::ping")
|
||||
}
|
||||
|
||||
system.result("server::ping", (data) => {
|
||||
playersStatus.innerText = `${data.players.online}/${data.players.max}`
|
||||
})
|
||||
Reference in New Issue
Block a user