Citryon25 Posted November 1, 2015 Share Posted November 1, 2015 Fala galera. estou procurando uma função na qual o player fica desarmado(Ou seja, impossibilado de atirar ou pegar arma) Obg ai glr.. preciso disso o mais rápido possivel pf... Link to comment
brunob22 Posted November 2, 2015 Share Posted November 2, 2015 bem simples. um pouco de pesguiça ajuda https://wiki.multitheftauto.com/wiki/ToggleControl Link to comment
FelipeMallmann Posted November 4, 2015 Share Posted November 4, 2015 Impossibilitar ele de atirar toggleControl ( player, "fire", false ) Impossibilitar ele de mirar toggleControl ( player, "aim_weapon", false ) Impossibilitar ele de trocar de arma toggleControl ( player, "next_weapon", false ) toggleControl ( player, "previous_weapon", false ) Remover um ou todas as armas takeWeapon ( player, ID DA ARMA ) takeAllWeapons ( player ) Link to comment
#RooTs Posted November 5, 2015 Share Posted November 5, 2015 Gostei da dica do @FelipeMallmann Link to comment
imCEASER Posted November 22, 2015 Share Posted November 22, 2015 Se possível, mude o título do tópico para: [AJUDA|RESOLVIDO] Função para desarmar player 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