AllowMelee( <melee> )


Module: Player
SP Only

Summary:

Sets whether the player can melee



Call this on:

The player



Example:

level.player AllowMelee(false);



Required Args:

  • 1 : <melee>: A boolean. True if the player can melee, and false otherwise