HIT DAMAGE

This commit is contained in:
hydrant
2021-06-06 15:57:14 +02:00
parent 376e5e9a1a
commit 62a423cd42

View File

@@ -47,6 +47,10 @@ export default function weapondamageUtil(globalData: IGlobalData) {
if (spawnschutzEnabled && getWantedCount() === 0) {
return true;
}
if (targetEntity.type === 'player') {
Hits.add(damage, targetEntity.position);
}
});
mp.events.add("render", () => {