Jump to content

Alguem Sabe Como Tirar Binds Do MTA:SA


Recommended Posts

Posted
function abrir( key, keyState )
--if not isPedInVehicle ( localPlayer ) and isPedInVehicle ( localPlayer ) then
    if ( keyState == 'down' ) then
        addEventHandler ("onClientRender", root, dx)
		showCursor (true)
		som = playSound("sfx/effect.mp3")
		painel2 = true
		setElementData ( localPlayer, "shader", true )
        elseif ( keyState == 'up' ) then
        showCursor (false)
		setElementData ( localPlayer, "shader", false )
		stopSound(som)
		painel2 = false
		removeEventHandler ("onClientRender", root, dx)
   -- end
  end
end
bindKey( 'm', 'down', abrir )
bindKey( 'm', 'up', abrir )
unbindKey ('mouse_wheel_up')

quero remover a troca de arma pelo q, e, mouse_wheel_up e mouse_wheel_down

  • Moderators
Posted
toggleControl ("next_weapon", false)
toggleControl ("previous_weapon", false)

 

  • Thanks 1

Eu te ajudei ou achou meu comentário útil? Não esqueça de deixar um Thanksspacer.png

Minhas contribuições para a comunidade: LordHenry - MTA Wiki Profile
Inscreva-se no meu canal do YouTube: Lord Henry - Entertainment
Discord Oficial do MTA: https://mtasa.com/discord
Blacklist e Whitelist de Scripters: Planilha

Por favor, não me envie mensagens privadas solicitando suporte. Crie um tópico no fórum em vez disso.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...