HasWeapon(<weapon name>)


Module: Player

Summary:

Checks whether the player has the given weapon.



Call this on:

The player



Example:

 if( level.player HasWeapon( "Panzerfaust" ) ) [...]



Required Args:

  • 1 : <weapon name> The weapon name (a string)