| | #1 (permalink) |
![]() ![]() | Bu komut ile oldukları yerde reslenebilirler.. Kod: using System;
using Server.Items;
using Server.Targeting;
using Server.Mobiles;
using System.Collections;
namespace Server.Scripts.Commands
{
public class RessMe
{
public static void Initialize()
{
Server.Commands.Register( "RessMe", AccessLevel.Player, new CommandEventHandler( RessMe_OnCommand ) );
Server.Commands.Register( "Resle", AccessLevel.Player, new CommandEventHandler( RessMe_OnCommand ) );
}
[Usage( "RessMe" )]
[Description( "Ressme for Player. You must have 0 goldcoins in your bankbox." )]
public static void RessMe_OnCommand( CommandEventArgs e )
{
Container bank = e.Mobile.BankBox;
if ( e.Mobile.Hits == 0 )
{
if (bank != null && bank.ConsumeTotal( typeof( Gold ), 0 ))
{
e.Mobile.PlaySound( 0x214 );
e.Mobile.FixedEffect( 0x376A, 10, 16 );
e.Mobile.Resurrect();
e.Mobile.Hits = e.Mobile.HitsMax;
e.Mobile.Stam = e.Mobile.StamMax;
e.Mobile.Mana = e.Mobile.ManaMax;
e.Mobile.SendMessage( "You feel your life comes back in your body..." );
}
else
{
e.Mobile.SendMessage( "You must have 0 Goldcoins in your bankbox!");
}
}
else {
e.Mobile.SendMessage("Your are not dead.");
}
}
}
} __________________ Lütfen Paylaşımlara REP Veriniz.. Paylaşımlarda Şifre Çıkarsa: [Sadece Kayıtlı Kullanıcılar Linkleri Görebilir. Üye OL...] veya gamesfor.net ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| | |
![]() |
| Seçenekler | |
| Stil | |
|
|
| GameSFoR.NeT Kendi Sunucusunda Dosya Barındırmaz. Çeşitli Dosya Paylaşım Sitelerinin Linkleri Yayınlanır. Dosya İçeriklerinin Sorumluluğu, İndiren Kişiye ve Dosyayı Barındıran Sunucuya Aittir. Sitedeki materyallerin(kategori, resim, logo vs.) kopyalanması için izin alınmalıdır.. Report Abuse, Harassment, Scamming, Hacking, Warez, Crack, Divx, Mp3 or any Illegal Activity to wipau@gamesfor.net |