Viictor_ Posted October 5, 2019 Share Posted October 5, 2019 quando eu miro com o dedo (arma) e aperto tab ele atira mesmo estando desabilitado,gostaria de saber como posso resolver esse ''bug'' ou se tem um metodo de remover o tab de atirar para os jogadores. Link to comment
juaosilv Posted October 5, 2019 Share Posted October 5, 2019 toggleControl ( source, "action", false ) Pra desativar o tab utiliza o action. Link to comment
Viictor_ Posted October 5, 2019 Author Share Posted October 5, 2019 11 hours ago, juaosilv said: toggleControl ( source, "action", false ) Pra desativar o tab utiliza o action. poderia me mandar o script? pois coloco aqui e continua dando erro. Link to comment
CrowleySCR Posted October 6, 2019 Share Posted October 6, 2019 (edited) 12 hours ago, Viictor_ said: poderia me mandar o script? pois coloco aqui e continua dando erro. toggleControl(source, 'fire', false) -- Tiro Normal *** -- Desativa o tiro da arma. toggleControl(source, 'action', false) -- Tiro ( TAB ) *** -- Desativa o tiro da arma. toggleControl(source, 'fire', true) -- Tiro Normal *** -- Ativa o tiro da arma. toggleControl(source, 'action', true) -- Tiro ( TAB ) *** -- Ativa o tiro da arma. *server-side Edited October 6, 2019 by CrowleySCR Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now