spawnschutz eingefügt
This commit is contained in:
9
ReallifeGamemode.Client/Player/spawnschutz.ts
Normal file
9
ReallifeGamemode.Client/Player/spawnschutz.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export let spawnschutzEnabled = true;
|
||||
|
||||
export default function spawnschutz() {
|
||||
|
||||
setInterval(() => {
|
||||
mp.events.call("toggleSpawnschutz", false);
|
||||
spawnschutzEnabled = false;
|
||||
}, 60000);
|
||||
}
|
||||
Reference in New Issue
Block a user