Archived
Private
Public Access
1
0

Initial commit

This commit is contained in:
2022-09-04 12:45:01 +02:00
commit f4a01d6a69
11601 changed files with 4206660 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
const title = document.getElementById("currentSite");
const site = fivem.getCurrentSite();
switch (site) {
case "rules":
title.innerText = "Regeln";
break;
case "cars":
title.innerText = "Autos";
break;
case "team":
title.innerText = "Team";
break;
default:
title.innerText = "Startseite";
break;
}
const header_buttons = document.getElementsByClassName("navigation_button");
for (let button of header_buttons) {
button.onclick = () => {
location.href = fivem.hostname + button.id.replace("redirect_", "");
};
}
//# sourceMappingURL=script.js.map