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. 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
    • Ultima Online Oyuncu Rehberi

      Ultima Online Oyuncu Rehberi

      Oyunu hakkında tanıcı bilgiler ve ipuçları

    • Ultima Online Server List

      Ultima Online Server List

      Önemli özellikleri ve online oyuncu sayıları

    • Ultima Online Script

      Ultima Online Script

      Sphere, RunUO, Razor scriptleri

    • Ultima Online Forum

      Ultima Online Forum

      UO hakkında görüş alışverişi

  • FORUM
  • DOKÜMAN
  • İNDİR
  • DISCORD 59
   Üye ol    Giriş
191
  1. UO Scriptleri
  2. RunUO Scripts
  3. Commands
  4. 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
  • 2480 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
  • Gökhan Çelikörs
    NightUO

    Sunucular 1 hafta önce

  • Kanfelaketi
    Üyeliği 15 yıl ve üzerinde olanlar.

    Ultima Online 1 hafta önce

  • HızlıTetık
    Yapay zekayla UO kodlamaya çalışan var mı? Cursor...

    Sphere Scripting 2 hafta önce

  • Vanq
    Discord'a alternatif olarak basit sesli sohbet...

    Off Topic 2 hafta önce

  • Furkan Yurtseven
    CS2 Topluluk Sunucumuza Ücretli Yetkili Aranıyor!

    Counter-Strike 2 3 hafta önce

  • Nefrelius
    Alcor UO Reborn

    Sunucular 1 ay önce

  • System_Error
    Client Patlaması

    Ultima Online 1 ay önce

  • georgm15
    CS2 turnuvaları tartışmalı başladı.

    Counter-Strike 2 1 ay önce

  • georgm15
    Counter-Strike 1.6 İndir - Tek Link Hızlı-

    Counter-Strike 1 ay önce

  • Cihangir algın
    Razor Kullanımı

    RunUo Scripting 2 ay önce

  • Lucretius
    Rampage Pvp

    Sunucular 2 ay önce

  • Lucretius
    Nephilim Pvp

    Sunucular 2 ay önce

  • Cengiz MERDİT
    Sphere 56T Nightly Sürümü

    Ultima Online 2 ay önce

  • aygun
    Esgaroth UO

    Sunucular 2 ay önce

  • deonist
    Alysa Pvp ( Aktif ! )

    Sunucular 2 ay önce

  • 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

  • Centred#

    2024-07-08 22:50

  • CentrED+ 7.9

    2024-07-08 22:34

  • Distance(uzaklık) Sorgusu Hakkında

    2024-06-19 22:05

  • UoFiddler

    2024-06-01 02:19

  • UoFiddler ile Map Kopyalama

    2024-05-31 21:17

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 - 2025 Ultima-Strike. Her hakkı saklıdır.