debug meldung entfernt
This commit is contained in:
@@ -26,9 +26,7 @@ export default function weapondamageUtil() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
mp.events.add('outgoingDamage', (sourceEntity, targetEntity, sourcePlayer, weapon, boneIndex, damage) => {
|
mp.events.add('outgoingDamage', (sourceEntity, targetEntity, sourcePlayer, weapon, boneIndex, damage) => {
|
||||||
|
|
||||||
if (isTargetInPolygon(targetEntity.position) || isInAnyNoDMPolygon) {
|
if (isTargetInPolygon(targetEntity.position) || isInAnyNoDMPolygon) {
|
||||||
mp.gui.chat.push("nodm");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user