GetWeaponSlotWeapon( <weapon slot> )


Module: Player

Summary:

Gets the name of the weapon in the given weapon slot.



Call this on:

The player



Example:

playerWeapon[0] = level.player getweaponslotweapon("primary");



Required Args:

  • 1 : <weapon slot> Valid weaponslots are "primary" and "primaryb".