function disableWeaponControls()
toggleControl(source, "fire", false)
toggleControl(source, "aim_weapon", false)
toggleControl(source, "next_weapon", false)
toggleControl(source, "previous_weapon", false)
end
addEventHandler("onPlayerJoin", root, disableWeaponControls)
https://wiki.multitheftauto.com/wiki/ToggleControl