Skip to content

Commit

Permalink
Merge pull request #1464 from Mycroft-Studios/Lockon-fix
Browse files Browse the repository at this point in the history
fix(es_extended/client/adjustments): use correct natives
  • Loading branch information
Arctos2win authored Nov 13, 2024
2 parents 66abb0e + a491cf2 commit 0b2cdf8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion [core]/es_extended/client/modules/adjustments.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ end

function Adjustments:DisableAimAssist()
if Config.DisableAimAssist then
SetPlayerLockon(ESX.playerId, false)
SetPlayerTargetingMode(3)
SetPlayerLockonRangeOverride(ESX.playerId, 0.0)
end
end

Expand Down

0 comments on commit 0b2cdf8

Please sign in to comment.