منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   Npc title (https://code.vpscairo.com/showthread.php?t=136)

محمد ياسر 2019-04-23 03:12 PM

Npc title
 

انبي سي يعطيك الالقاب

كود PHP:

#region Title Storage Manager 
                
case 471612
                    { 
                        switch (
npcRequest.OptionID
                        { 
                            case 
0
                                { 
                                    
dialog.Text("Hello " client.Entity.Name ", How are you ? I am the manager of the new titles / wings"); 
                                    
dialog.Text("Do you want to buy wings / titles ? [Your points are " client.Entity.TitlePoints); 
                                    
dialog.Option("CTF Wing"1); 
                                    
dialog.Option("Wing Champion Elite"15); 
                                    
dialog.Option("5 Star Garment Wing"2); 
                                    
dialog.Option("5 Star Mount aramor"3); 
                                    
dialog.Option("Overlord title"4); 
                                    
dialog.Option("Grandmaster title"5); 
                                    
dialog.Option("RisingStar title"6); 
                                    
dialog.Option("Victor title"7); 
                                    
dialog.Option("Conqueror title"8); 
                                    
dialog.Option("Talent title"9); 
                                    
dialog.Option("Fashionist title"10); 
                                    
dialog.Option("SwiftChaser title"11); 
                                    break; 
                                } 
                            case 
16
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(600120false); 
                                        
//  client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 400 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
15
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(600120false); 
                                        
// client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 400 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
1
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(600221false); 
                                        
//  client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 400 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
2
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(600322false); 
                                        
//  client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 200 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
3
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(600423false); 
                                        
//  client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 150 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
4
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(11000false); 
                                        
//     client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 200 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
5
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(20181false); 
                                        
//    client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 300 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
6
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(20012false); 
                                        
//   client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 270 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
7
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(20023false); 
                                        
//  client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 250 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
8
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(20034false); 
                                        
//client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 230 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
9
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(20045false); 
                                        
//    client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 200 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
10
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(20056false); 
                                        
//   client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 150 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                            case 
11
                                { 
                                    if (
client.Entity.ConquerPoints >= 100
                                    { 
                                        
client.Entity.ConquerPoints -= 100
                                        
client.Entity.WTitles.AddTitle(20067false); 
                                        
// client.Disconnect(); 
                                    

                                    else 
                                    { 
                                        
dialog.Text("Sorry, you don't have enough points , You need 100 point"); 
                                        
dialog.Option("Oh , Shit !"byte.MaxValue); 
                                    } 
                                    break; 
                                } 
                        } 
                        break; 
                    } 
                
#endregion 



الساعة الآن 09:04 AM

مرحبا بكم في منتدي اكواد لتطوير الالعاب