Fix Aimbot
This commit is contained in:
parent
a6db93d19d
commit
2c8a8f77ed
5 changed files with 32 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue