GrandTabernacleAutoVI/public_html/assets/phone/webview/lester.html
2024-12-17 19:00:24 +01:00

85 lines
No EOL
3 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lester</title>
<style type="text/css">
body {
margin:0;
padding:0;
text-align:center;
}
.button {
display:inline-block;
padding:3px;
width:90%;
text-align:center;
margin:4px;
cursor:pointer;
}
.yellow {
background-color: yellow;
}
.red {
background-color: red;
}
.green {
background-color: green;
}
.blue {
background-color: skyblue;
}
.fifty {
width:40%;
}
.thirty {
width:30%;
}
</style>
</head>
<body>
<script type="text/javascript">
function kill_someone() {
id=document.getElementById("id").value
if(id>0) {
window.parent.Lester(3,id)
} else {
alert("Vous devez entrer l'identifiant de celui que vous souhaitez tuer !")
}
}
function toggleDot(id) {
const dot = document.getElementById('dot-' + id);
if (dot.style.display === 'none') {
dot.style.display = 'inline'; // ou 'block' si vous préférez
} else {
dot.style.display = 'none';
}
}
</script>
<input type="number" id="id" class="button thirty" placeholder="id"><a onclick="kill_someone()" class="button fifty red" width="50%">KILL</a>
<a onclick="window.parent.Lester(4,null)" class="button red" width="50%">KILL EVERYONE</a>
<a onclick="window.parent.Lester(5,null)" class="button blue" width="50%">COLLISIONS</a>
<a onclick="window.parent.Lester(2,null)" class="button yellow">FULL LIFE</a>
<a onclick="window.parent.Lester(6,null); toggleDot(6)" class="button yellow">GOD MOD <span class="dot" id="dot-6"></span></a>
<a onclick="window.parent.Lester(7,null); toggleDot(7)" class="button yellow">AK-47 <span class="dot" id="dot-7"></span></a>
<a onclick="window.parent.Lester(8,null); toggleDot(8)" class="button yellow">TP sur clique gauche <span class="dot" id="dot-8"></span></a>
<a onclick="window.parent.Lester(1,[363,282,5])" class="button green">SAFE ZONE</a>
<a onclick="window.parent.Lester(1,[200,100,0])" class="button green">MAP 0</a>
<a onclick="window.parent.Lester(1,[516,789,1])" class="button green">MAP 1</a>
<a onclick="window.parent.Lester(1,[484,898,2])" class="button green">MAP 2</a>
<a onclick="window.parent.Lester(1,[583,810,3])" class="button green">MAP 3</a>
<a onclick="window.parent.Lester(1,[50,852,4])" class="button green">MAP 4</a>
<a onclick="window.parent.Lester(1,[200,147,5])" class="button green">MAP 5</a>
<a onclick="window.parent.Lester(1,[131,313,6])" class="button green">MAP 6</a>
<a onclick="window.parent.Lester(1,[917,547,7])" class="button green">MAP 7</a>
<a onclick="window.parent.Lester(1,[1056,449,8])" class="button green">MAP 8</a>
<a onclick="window.parent.Lester(1,[871,856,9])" class="button green">MAP 9</a>
<a onclick="window.parent.Lester(1,[58,269,10])" class="button green">MAP 10</a>
<a onclick="window.parent.Lester(1,[276,860,11])" class="button green">MAP 11</a>
</body>
<script type="text/javascript">
toggleDot(6); toggleDot(7); toggleDot(8); // par défaut eteindre les pastilles
</script>
</html>