الموضوع: سجن الانبوت
عرض مشاركة واحدة
احصائياتى

الردود
3

المشاهدات
813
 
Mero
.:: عضو نشيط ::.

    غير متواجد

المشاركات
157

+التقييم
0.06

تاريخ التسجيل
Apr 2019

الاقامة
Egypt

نظام التشغيل
Designer and Programmer

رقم العضوية
11
2019-04-24, 12:05 AM
المشاركة 1
2019-04-24, 12:05 AM
المشاركة 1
Post سجن الانبوت


تضيف الاتشك كده !


كود:
#region [#Jial] [#No Out] 
                 
uint gowanotimec = 30; // ده المدة الى هيعدها فى السجن بالدقائق 
                
uint gowanotime = gowanotimec * 60; 
                if (
client.Entity.Jail <= 1 && client.Entity.Jail > gowanotime) 
                { 
                    
client.Entity.Jail -= 1; 
                } 
                if (
client.Entity.Jail <= gowanotime && client.Entity.Jail >= 1) 
                { 
                    
client.Entity.Jail -= 1; 
                } 
                if (
client.Entity.Jail == gowanotime) 
                { 
                    
client.MessageBox("Be Online Not Off " + gowanotimec + " Mins To Get Out , [Fuk U use Aimbot]"); 
                    
Kernel.SendWorldMessage(new Message(" " + client.Entity.Name + "He Go TO Jial For using Boots For " + gowanotime + " Seconds", Color.Red, Message.Center)); 
                } 
                if (
client.Entity.MapID == 6002 && client.Entity.Jail == 0) 
                { 
                    
client.Entity.Teleport(1002, 300, 300); 
                    
client.MessageBox("Gratz u Get Out The Jial After " + gowanotimec + " Mins"); 


                    
////////////////////////////////////////// 
                    
Kernel.SendWorldMessage(new Message("Warning! " + client.Entity.Name + " Get out BotJail For " + gowanotimec + " MINS", Color.Red, Message.Center)); 
                } 
                if (
client.Entity.MapID != 6002 && client.Entity.Jail != 0) 
                { 
                    
client.Entity.Teleport(6002, 50, 50); 
                } 
                if (
client.Entity.MapID == 6002 && client.Entity.Jail != 0) 
                { 
                    
int JAIL = 0; 
                    var array = new[]  
               {                  
               
string.Format("[Jial] : Time To Get Out = {0} Seconds", client.Entity.Jail), 
               }; 
                    foreach (var 
str2 in array) 
                    { 
                        
client.Entity.Send(new Network.GamePackets.Message(str2, System.Drawing.Color.Red, JAIL == 0 ? Message.FirstRightCorner : Message.ContinueRightCorner)); 
                        
JAIL++; 
                    } 
                } 
                
#endregion 

آلكود ده بيدخل السجن لمده 30 دقيقه تقدر تعدل بمزاجك !




التعديل الأخير تم بواسطة Mero ; 2019-04-24 الساعة 12:09 AM