CODE |
Mobile m = (Mobile)m_Mobiles[index]; AddImageTiled( x, y, EntryWidth, EntryHeight, EntryGumpID ); string name = m.Name; if(owner.Guild is Guild && ((Guild)(owner.Guild)).IsAlly(m.Guild as Guild)) name += " (Ally)" AddLabelCropped( x + TextOffsetX, y, EntryWidth - TextOffsetX, EntryHeight, GetHueFor( m ), m.Deleted ? "(deleted)" : name ); x += EntryWidth + OffsetSize; if ( SetGumpID != 0 ) AddImageTiled( x, y, SetWidth, EntryHeight, SetGumpID ); |
CODE |
if(owner.Guild is Guild && ((Guild)(owner.Guild)).IsAlly(m.Guild as Guild)) name += " (Ally)" |
CODE |
- Error: Scripts\Custom\GListGump.cs: CS0246: (line 140, column 76) The type or namespace name 'Guild' could not be found (are you missing a using directive or an assembly reference?) - Error: Scripts\Custom\GListGump.cs: CS0246: (line 216, column 40) The type or namespace name 'Guild' could not be found (are you missing a using directive or an assembly reference?) |