This commit is contained in:
hydrant
2021-06-06 16:00:59 +02:00
parent 62a423cd42
commit 6e5577fcfb
2 changed files with 4 additions and 1 deletions

View File

@@ -33,7 +33,9 @@ class HitText {
} }
} }
var Hits = new HitText(); const Hits = new HitText();
export default Hits;
mp.events.add(RageEnums.EventKey.RENDER, () => { mp.events.add(RageEnums.EventKey.RENDER, () => {
Hits.render(); Hits.render();

View File

@@ -2,6 +2,7 @@
import polygons from "../polygons"; import polygons from "../polygons";
import { getWantedCount } from "../Gui/wanteds"; import { getWantedCount } from "../Gui/wanteds";
import { spawnschutzEnabled } from "../Player/spawnschutz"; import { spawnschutzEnabled } from "../Player/spawnschutz";
import Hits from "./hitmarker";
function isTargetInPolygon(pos): boolean { function isTargetInPolygon(pos): boolean {