keine sani benachrichtigung bei wanted tod

This commit is contained in:
Fabian
2021-04-25 23:40:46 +02:00
parent 63a7261f33
commit 1f816e6ca9
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ export default function weapondamageUtil() {
}
});
mp.events.add('outgoingDamage', (sourceEntity, targetEntity, sourcePlayer, weapon, boneIndex, damage) => {
mp.events.add(RageEnums.EventKey.OUTGOING_DAMAGE, (sourceEntity, targetEntity, sourcePlayer, weapon, boneIndex, damage) => {
if (spawnschutzEnabled && getWantedCount() === 0) {
return true;
}