afk hits mit wanteds

This commit is contained in:
Fabian
2021-04-27 21:54:49 +02:00
parent 3ec8270392
commit 2338cc2c4b

View File

@@ -31,8 +31,8 @@ export default function weapondamageUtil(globalData: IGlobalData) {
if ((isTargetInPolygon(sourceEntity.position) || isInAnyNoDMPolygon) && getWantedCount() === 0) {
return true;
}
if (globalData.IsAfk == true) {
mp.gui.chat.push("afkhit");
if (globalData.IsAfk == true && getWantedCount() === 0) {
return true;
}