Returns an array of loaded weapons. Id from this array you can use with switchToWeaponId(id), for example.
loadedweapons = getLoadedWeapons();