How I disable sprint + attack

Please help me I Want Disable key SHIFT + LEFT CLICK

That’s easy - put the following code into any client script:

Citizen.CreateThread(function()
while IsControlActionPressed(0, 21) do
Citizen.Wait(0)
DisableControlAction(0, 24)
end
end)

Thank you I will try

not work :’(

I want to disable run attack because when they hold shift + click. they can bug attack

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.