عرض مشاركة واحدة
قديم 2020-02-15, 07:52 PM
المشاركة 6
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: ازاي تغير لون سرفرك بي الشكل الي انت عاوزه
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
طب هو مكان الان بي سي فين ؟!
ملوش انبي سي دي شفرات ولو عايز انبي سي اتفضل


كود:
#region Color Server
                
case 195144:
                    {
                        
dialog.Avatar(225);
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("\t\t\t\tھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ\n");
                                    
dialog.Text("Welcoem In Server  " Constants.ServerName " You Can Change Color Server\n");
                                    
dialog.Text("\t\t\t\tھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ،ھ\n");
                                    
dialog.Option("Black"1);
                                    
dialog.Option("Blue"2);
                                    
dialog.Option("Red"3);
                                    
dialog.Option("Green"5);
                                    
dialog.Option("Remove Color"4);
                                    
dialog.Option("No Thanks"255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
1:
                                {
                                    
Data data = new Data(true);
                                    
data.UID client.Entity.UID;
                                    
data.dwParam 5855577;
                                    
data.ID = (104);
                                    
data.TimeStamp Time32.Now;
                                    
data.dwParam 5855577;
                                    
client.Send(data);
                                    
client.SendScreen(datatrue);
                                    
client.Screen.Reload(null);
                                    
client.MessageBox("You are Using Color Black"nullnull0);
                                    break;
                                }
                            case 
2:
                                {
                                    
Data data = new Data(true);
                                    
data.UID client.Entity.UID;
                                    
data.dwParam 5857;
                                    
data.ID = (104);
                                    
data.TimeStamp Time32.Now;
                                    
data.dwParam 5857;
                                    
client.Send(data);
                                    
client.SendScreen(datatrue);
                                    
client.Screen.Reload(null);
                                    
client.MessageBox("You are Using Color Blue"nullnull0);
                                    break;
                                }
                            case 
3:
                                {
                                    
Data data = new Data(true);
                                    
data.UID client.Entity.UID;
                                    
data.dwParam 3846;
                                    
data.ID = (104);
                                    
data.TimeStamp Time32.Now;
                                    
data.dwParam 16755370;
                                    
client.Send(data);
                                    
client.SendScreen(datatrue);
                                    
client.Screen.Reload(null);
                                    
client.MessageBox("You are Using Color Red"nullnull0);
                                    break;
                                }
                            case 
4:
                                {
                                    
Data data = new Data(true);
                                    
data.UID client.Entity.UID;
                                    
data.dwParam 0;
                                    
data.ID = (104);
                                    
data.TimeStamp Time32.Now;
                                    
data.dwParam 0;
                                    
client.Send(data);
                                    
client.SendScreen(datatrue);
                                    
client.Screen.Reload(null);
                                    
client.MessageBox("You are Using No Color"nullnull0);
                                    break;
                                }
                            case 
5:
                                {
                                    
Data data = new Data(true);
                                    
data.UID client.Entity.UID;
                                    
data.dwParam 6210062;
                                    
data.ID = (104);
                                    
data.TimeStamp Time32.Now;
                                    
data.dwParam 6210062;
                                    
client.Send(data);
                                    
client.SendScreen(datatrue);
                                    
client.Screen.Reload(null);
                                    
client.MessageBox("You are Using Color Green"nullnull0);
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion