HIT DAMAGE
This commit is contained in:
@@ -47,6 +47,10 @@ export default function weapondamageUtil(globalData: IGlobalData) {
|
|||||||
if (spawnschutzEnabled && getWantedCount() === 0) {
|
if (spawnschutzEnabled && getWantedCount() === 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (targetEntity.type === 'player') {
|
||||||
|
Hits.add(damage, targetEntity.position);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
mp.events.add("render", () => {
|
mp.events.add("render", () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user