spawnschutz bei login, revive und spawn nach kh
This commit is contained in:
@@ -32,7 +32,13 @@ export default function weapondamageUtil() {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (spawnschutzEnabled) {
|
||||
if (spawnschutzEnabled && getWantedCount() === 0) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
mp.events.add('outgoingDamage', (sourceEntity, targetEntity, sourcePlayer, weapon, boneIndex, damage) => {
|
||||
if (spawnschutzEnabled && getWantedCount() === 0) {
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user