spawnschutz eingefügt

This commit is contained in:
Fabian
2021-04-22 21:03:13 +02:00
parent 798a84813c
commit 9e6df00f24
5 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
export let spawnschutzEnabled = true;
export default function spawnschutz() {
setInterval(() => {
mp.events.call("toggleSpawnschutz", false);
spawnschutzEnabled = false;
}, 60000);
}