Fix Aimbot

This commit is contained in:
ByDexter 2026-07-31 17:48:39 +03:00
parent a6db93d19d
commit 2c8a8f77ed
5 changed files with 32 additions and 1 deletions

View file

@ -39,6 +39,8 @@ namespace src.player.skills
var playerInfo = PlayerManager.GetPlayerByIndex(attacker.Index);
if (playerInfo == null || playerInfo.Skill != skillName) return;
if (!SkillUtils.IsBulletDamage(param2)) return;
int offset = GameData.GetOffset("CTakeDamageInfo_HitGroup");
if (offset <= 0) return;