UO-Dev Arama


Yazar: Bilinmiyor
Tarih: 01-09-2009 00:03


Paylaş : Paylaş

Kod:
using System;
using Server;
using Server.Mobiles;

namespace Server.Gumps
{
public class ConfirmReleaseGump : Gump
{
private Mobile m_From;
private BaseCreature m_Pet;

public ConfirmReleaseGump( Mobile from, BaseCreature pet ) : base( 50, 50 )
{
m_From = from;
m_Pet = pet;

m_From.CloseGump( typeof( ConfirmReleaseGump ) );

AddPage( 0 );

AddBackground( 0, 0, 270, 120, 5054 );
AddBackground( 10, 10, 250, 100, 3000 );

AddHtmlLocalized( 20, 15, 230, 60, 1046257, true, true ); // Are you sure you want to release your pet?

AddButton( 20, 80, 4005, 4007, 2, GumpButtonType.Reply, 0 );
AddHtmlLocalized( 55, 80, 75, 20, 1011011, false, false ); // CONTINUE

AddButton( 135, 80, 4005, 4007, 1, GumpButtonType.Reply, 0 );
AddHtmlLocalized( 170, 80, 75, 20, 1011012, false, false ); // CANCEL
}

public override void OnResponse( Server.Network.NetState sender, RelayInfo info )
{
if ( info.ButtonID == 2 )
{
if ( !m_Pet.Deleted && m_Pet.Controlled && m_From == m_Pet.ControlMaster && m_From.CheckAlive() /*&& m_Pet.CheckControlChance( m_From )*/ )
{
if ( m_Pet.Map == m_From.Map && m_Pet.InRange( m_From, 14 ) )
{
m_Pet.ControlTarget = null;
m_Pet.ControlOrder = OrderType.Release;
}
}
}
}
}
}



Yorumlar

Henüz yorum yapılmamıştır.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış   
Oylar: 0

Benzer Sayfalar

SayfalarYorumlarGönderenTarih
Gump Studio 1.80basic27-01-2010
Gump tooltip art is wrong size0MagLor31-10-2009
Yeni Sphere Release 20-09-20090TheRaskol23-09-2009
Resurrect Confirm0TheRaskol19-09-2009
Gate Confirm0TheRaskol19-09-2009


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,