Jump to content

Função para desarmar player.


Recommended Posts

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
  • 3 weeks later...

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...