aufgeräumt im knast

This commit is contained in:
Fabian
2021-04-26 23:03:25 +02:00
parent 3586f0b382
commit 33b2cdaf50
2 changed files with 15 additions and 11 deletions

View File

@@ -88,11 +88,7 @@ export default function polygonHandler() {
}
if (polygon == polygon_prison) {
mp.events.callRemote("SERVER:CheckPlayerInJail");
mp.events.callRemote("SERVER:BreakOutIfInPrison");
}
});
mp.events.add('CLIENT:PrisonBreakout', () => {
mp.events.callRemote("SERVER:PrisonBreakout");
});
}