private void IssueMembershipCard(Mobile to, int win)
 {
     Item item = null;
     item = new CasinoMembershipCard();
     if (item != null)
     {
         ((CasinoMembershipCard)item).ClubMember = to;
         ((CasinoMembershipCard)item).Game = Name;
         ((CasinoMembershipCard)item).Jackpot = win;
         GiveItem(to, item);
     }
     else
     {
         InvalidatePlayers("A critical error has forced this game offline, notify a GameMaster please.");
         KenoOffline(10011);
     }
 }
Esempio n. 2
0
		private void IssueMembershipCard(Mobile to, int jackpot)
		{
			Item item = null;
			item = new CasinoMembershipCard();
			if (item != null)
			{
				((CasinoMembershipCard)item).ClubMember = to;
				((CasinoMembershipCard)item).Game = this.Name;
				((CasinoMembershipCard)item).Jackpot = jackpot;
				GiveItem(to, item);
			}
			else
				SlotOffline(10011);
		}