Gump opens Gump ?
Hi,
I have a problem with a gump that should open a second gump.
The Button where you have to click to open the other gump is
[code:1]AddButton( 110, 120, 0xFAE, 0xFB0, 3, GumpButtonType.Reply, 1);[/code:1]
The response code
[code:1]
public override void OnResponse( NetState state, RelayInfo info )
{
Mobile from = state.Mobile;
switch ( info.ButtonID )
{
case 3:
{
from.SendGump( new HairDyeGump( from ) );
break;
}
}
}
[/code:1]
But this doesn't work
Anyone knows how it works ?
-Nova
Hi,
I have a problem with a gump that should open a second gump.
The Button where you have to click to open the other gump is
[code:1]AddButton( 110, 120, 0xFAE, 0xFB0, 3, GumpButtonType.Reply, 1);[/code:1]
The response code
[code:1]
public override void OnResponse( NetState state, RelayInfo info )
{
Mobile from = state.Mobile;
switch ( info.ButtonID )
{
case 3:
{
from.SendGump( new HairDyeGump( from ) );
break;
}
}
}
[/code:1]
But this doesn't work
Anyone knows how it works ?
-Nova