21.YILTürkiye'nin en eski ve aktif online oyun platformu, Ultima Online, Counter-Strike ve diğer online oyunlar hakkında Türkçe haber, bilgi ve forum sunuyor. Türkiye'nin en eski ve aktif online oyun platformu, Ultima Online, Counter-Strike ve diğer online oyunlar hakkında Türkçe haber, bilgi ve forum sunuyor.
  • ANASAYFA
  • ULTIMA ONLINE
  • FORUM
  • DOKÜMAN
  • İNDİR
   Üye ol    Giriş
987
59
  1. Anasayfa
  2. UO Scriptleri
  3. RunUO Scripts
  4. Commands
  5. kolay bır gm tools [gmler ıcın hazır scrıpt]

kolay bır gm tools [gmler ıcın hazır scrıpt]

  • 2004-08-31 12:35
  • 0 Yorumlar
  • 2758 Görüntüleme
using System; 
using System.Net;
using Server;
using Server.Accounting;
using Server.Gumps;
using Server.Items;
using Server.Mobiles;
using Server.Network;
using Server.Targeting;
using Server.Targets;
using Server.Scripts.Commands;
using Scripts.ToolBarGump;

namespace Server.Scripts.Commands
{
public class CustomCmdHandler4
{
public static void Initialize()
{
Register( "GmTool", AccessLevel.GameMaster, new CommandEventHandler( Lhide_OnCommand ) );
}

public static void Register( string command, AccessLevel access, CommandEventHandler handler )
{
Server.Commands.Register( command, access, handler );
}

[Usage( "Lhide" )]
[Description( "Hides/Unhides the staff member" )]
public static void Lhide_OnCommand( CommandEventArgs e )
{
e.Mobile.CloseGump( typeof( ToolBarGump ) );
e.Mobile.SendGump( new ToolBarGump() );
}
}
}

namespace Scripts.ToolBarGump
{
public class ToolBarGump : Gump
{
public ToolBarGump() : base( 0, 0 )
{
this.Closable=false;
this.Disposable=false;
this.Dragable=false;
this.Resizable=false;
this.AddPage(0);
this.AddPage(1);
this.AddImageTiled(-1, 33, 12, 34, 5057);
this.AddImageTiled(5, 35, 593, 32, 5058);
this.AddImageTiled(12, 65, 587, 12, 5061);
this.AddImageTiled(10, 28, 587, 12, 5055);
this.AddImage(0, 28, 5054);
this.AddImage(0, 65, 5060);
this.AddImage(597, 65, 5062);
this.AddImage(597, 28, 5056);
this.AddLabel(35, 32, 0, @"[Props");
this.AddButton(32, 51, 2311, 2312, 1, GumpButtonType.Reply, 1);
this.AddLabel(87, 32, 0, @"[Tele");
this.AddButton(80, 51, 2311, 2312, 2, GumpButtonType.Reply, 1);
this.AddLabel(130, 32, 0, @"[M Tele");
this.AddButton(129, 51, 2311, 2312, 3, GumpButtonType.Reply, 1);
this.AddLabel(185, 32, 0, @"[Who");
this.AddButton(177, 51, 2311, 2312, 4, GumpButtonType.Reply, 1);
this.AddLabel(239, 32, 0, @"[Go");
this.AddButton(226, 51, 2311, 2312, 5, GumpButtonType.Reply, 1);
this.AddLabel(284, 32, 0, @"[Res");
this.AddButton(275, 51, 2311, 2312, 6, GumpButtonType.Reply, 1);
this.AddLabel(330, 32, 0, @"[Kill");
this.AddButton(325, 51, 2311, 2312, 7, GumpButtonType.Reply, 1);
this.AddLabel(370, 32, 0, @"[Delete");
this.AddButton(374, 51, 2311, 2212, 8, GumpButtonType.Reply, 1);
this.AddLabel(418, 31, 0, @"[M Delete [Hide");
this.AddButton(423, 51, 2311, 2312, 9, GumpButtonType.Reply, 1);
this.AddButton(9, 40, 5541, 5540, 0, GumpButtonType.Page, 2);
this.AddImageTiled(598, 38, 12, 27, 5059);
this.AddButton(475, 52, 2311, 2312, 11, GumpButtonType.Reply, 1);
this.AddButton(523, 52, 2311, 2312, 12, GumpButtonType.Reply, 1);
this.AddLabel(524, 32, 0, @"[UnHide");

this.AddPage(2);
this.AddImageTiled(-1, 33, 12, 34, 5057);
this.AddImageTiled(5, 35, 25, 32, 5058);
this.AddImageTiled(12, 65, 25, 12, 5061);
this.AddImageTiled(10, 28, 25, 12, 5055);
this.AddImage(0, 28, 5054);
this.AddImage(0, 65, 5060);
this.AddImage(32, 65, 5062);
this.AddImage(32, 28, 5056);
this.AddButton(9, 40, 5538, 5539, 0, GumpButtonType.Page, 1);
this.AddImageTiled(30, 38, 12, 27, 5059);

}


public override void OnResponse( NetState state, RelayInfo info ) //Function for GumpButtonType.Reply Buttons
{
Mobile from = state.Mobile;

switch ( info.ButtonID )
{
case 1:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}props", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}

case 2:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}Tele", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}
case 3:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}M Tele", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}
case 4:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}Who", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}
case 5:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}Go", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}

case 6:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}Res", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}
case 7:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}Kill", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}
case 8:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}Delete", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}
case 9:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}M Delete", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}

case 11:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}Self Hide", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}

case 12:
{
string prefix = Server.Commands.CommandPrefix;

if ( from.AccessLevel > AccessLevel.Counselor )
{
Commands.Handle( from, String.Format( "{0}Self Unhide", prefix ) );
}
else
{
from.SendMessage( "NOT" );
}
from.SendGump( new ToolBarGump() );
break;
}
}
}
}
}

Değerlendirmeler

0 0

Total votes: 0

Üye Ol veya Giriş Yap

Bu içeriğe yorum atmak istiyorsanız hemen üye olun veya giriş yapın.

Discord ile Bağlan
Twitch ile Bağlan
Steam ile Bağlan
Google ile Bağlan

Yorumlar (0)

Henüz yorum yapılmamış
Sadece kayıtlı kullanıcılar yeni yorum yapabilir.


Ultima-Strike Discord
Benzer Sayfalar
  • Kolay Duyuru Cok Yeniyim :))

    2008-02-23 01:28

  • Kolay Moongate Sistemi

    2008-10-31 13:51

  • Hazır 55 Level

    2009-03-16 20:14

  • Alın Size Hazır Moongate [Yeniyim]

    2008-12-15 23:39

  • Vista çıkmadan, saldırı kodları hazır

    2006-08-18 12:46



  • Son Forumlar
  • Sayfalar
  • Syntax
    UO:Nimloth Yeniden Doğuyor !

    Sunucular 2 gün önce

  • Tovertis
    WEST ULTİMA ONLİNE

    Sunucular 2 gün önce

  • J7
    RAMPAGE PVP

    Sunucular 3 gün önce

  • DarkSlayTR
    UORoots - Köklerine dön! Baştan sona Türkçe...

    Sunucular 3 gün önce

  • AnhElUs 333
    Eryndor UO

    Sunucular 4 gün önce

  • crazydodo
    Düzgün bir RP ya da PP yok mudur?

    Sunucular 4 gün önce

  • Syntax
    UOFiddler Arama Plugin

    Ultima Online 1 hafta önce

  • mastik750
    Üyeliği 20 yıl ve üstünde olanlar.

    Ultima Online 1 hafta önce

  • Mortal
    SphereNet: SphereServer Source-X'in Modern .NET 9...

    Ultima Online 1 hafta önce

  • stark_nephilim_uo
    Nephilim Pvp - Age Of Gold

    Sunucular 2 hafta önce

  • Nero Pvp
    NERO PVP 20/09/2026 PAZAR AKTİF OLACAKTIR.

    Sunucular 2 hafta önce

  • Rowall
    Volantis Ultima Online Hakkında

    Sunucular 2 hafta önce

  • MtHan
    Runuo daha iyi değil mi ya?

    Ultima Online 2 hafta önce

  • Morechild
    Moongate üzerinden geçince 1,1 konumuna atıyor.

    Sphere Scripting 3 hafta önce

  • Tayfun Dayioglu
    New Hope UO | Custom ML Era | Seviyeli Sınıf...

    Sunucular 2 ay önce

  • UOFiddler Arama Plugin

    2026-10-01 15:40

  • Ultima Online .mul Konu anim4.mul ile Binek ekleme

    2026-01-25 20:19

  • MMORPG'de Devrim Yaptı: Sınıf Tanımayan Ultima Online!

    2025-12-27 21:13

  • Ultima Online'ın Oynanışını Tamamen Değiştiren Harita Kararı!

    2025-12-23 23:17

  • Yeni Başlayanlar İçin Ultima Online

    2025-11-27 19:07

  • Skill seçimlerinizi planlamak artık çok daha kolay

    Ultima Online Karakter Yapılandırma Aracı Bölümü Açıldı!

    2024-10-31 22:47

  • Ultima Online topluluğu, ClassicUO'nun sadece web client olarak kullanılabileceğinin açıklanmasının ardından tepkili.

    Resmi UO, Oyuncuları İkiye Böldü: Web Client Yeterli mi?

    2024-10-14 17:45

  • Ultima Online, ClassicUO ile resmi işbirliği yapıyor! Performans iyileştirmeleri, geniş oyun penceresi ve daha fazlası geliyor.

    Ultima Online, ClassicUO ile Resmi İşbirliğine Gidiyor

    2024-09-26 14:21

Menü
  • ANASAYFA
  • FORUM
  • DOKÜMAN
  • İNDİR
  • İLETİŞİM
  • Bağlantılar
  • CS 1.6 indir
  • CS 1.6 Türkçe
  • CS 1.6 Bot
  • CS 1.6 CFG
  • CS 1.6 Rate Ayarları
  • UO Server
  • Ghost Mouse indir
  • FPS Nedir?
  • Ultima Online PVP Server
  • Makroman
  • UO Karakter Yapılandırma
    © 2004 - 2026 Ultima-Strike. Her hakkı saklıdır.