Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
DisableControlAction(1, 140, true)
if not IsPlayerTargettingAnything(PlayerId()) then
DisableControlAction(1, 141, true)
DisableControlAction(1, 142, true)
end
end
end)
When you tab out you click on the game to re-focus it and sometimes you can hit people because of that.If you add this you can’t punch unless you hold right-click and focus. It also prevents shift punch spamming!
Dumb Install Hint: Add to any client.lua you can find
Great one!
I wish this was included in every Five M server by default. Power punching (shift/sprint punching) is the most disgusting thing every loser can do in a melee fight.