[HELP] How to disable this?

Hi,

I search how to disable this but I do not find anything and I don’t know how is it written in french so I post it here and thanks to whoever will help me

Thanks :heart:

Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)
		local ped = PlayerPedId()
            	if IsPedArmed(ped, 6) then
	    	DisableControlAction(1, 140, true)
            	DisableControlAction(1, 141, true)
            	DisableControlAction(1, 142, true)
        end
    end
end)

I will try it

Ok sorry for the time but it work, thanks :slight_smile: