nodmzone, COMMIT NUR ZUM TESTEN

This commit is contained in:
Fabian
2021-04-21 22:35:58 +02:00
parent 4c35539b23
commit 3edd6b5560
7 changed files with 59 additions and 1 deletions

View File

@@ -7,6 +7,12 @@
player.setSuffersCriticalHits(false);
});
mp.events.add('outgoingDamage', (sourceEntity, targetEntity, sourcePlayer, weapon, boneIndex, damage) => {
mp.events.call('checkPosition', targetEntity);
});
mp.events.add("render", () => {
if (blockInput) {
mp.game.controls.disableControlAction(32, 142, true);