الموضوع: NPC Lucky Play Cps
عرض مشاركة واحدة
احصائياتى

الردود
4

المشاهدات
1796
 
Mero

Mero is on a distinguished road

    غير متواجد

المشاركات
151

+التقييم
0.07

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

الاقامة

نظام التشغيل

رقم العضوية
11
2019-06-01, 06:33 AM
المشاركة 1 
#1  
Smile NPC Lucky Play Cps



ده عبارة عن انبسي الناس بتكلمو وتلعب لكي بلسبس ال معاهة تقدر تعدل عليه بس اوعة تبوظ الدنيا تلاقي الناس كلها معاهة سبس ردم


ضيف الكود ده في npc.cs


كود:
#region Lucky Play Cps  
                
case 54586:  //Thanks EGY4U 
                    


                        switch (
npcRequest.OptionID
                        { 
                            case 
0
                                { 

                                    
dialog.Text("Try You'r Lucky With Play Cps"); 
                                    
dialog.Option("Play Cps 10M."1); 
                                    
dialog.Option("Play Cps 5M"2); 
                                    
dialog.Option("Play Cps 1M "3); 
                                    
dialog.Option("not now."255); 
                                    
dialog.Avatar(80); 
                                    
dialog.Send(); 
                                    break; 
                                } 
                            case 
3
                                { 
                                    if (
client.Entity.ConquerPoints >= 1000000
                                    { 
                                        
client.Entity.ConquerPoints -= 1000000
                                        
Random R = new Random(); 
                                        
int Nr R.Next(17); 
                                        if (
Nr == 1client.Entity.ConquerPoints += 0
                                        if (
Nr == 1client.MessageBox("Sorry you loss your Cps "null); 
                                        if (
Nr == 1client.Entity.ConquerPoints += 1000000
                                        if (
Nr == 1client.MessageBox("You received a 1M CPs "null); 
                                        if (
Nr == 1client.Entity.ConquerPoints += 1000000
                                        if (
Nr == 1client.MessageBox("You received a 1M CPs "null); 
                                        if (
Nr == 1client.Entity.ConquerPoints += 1000000
                                        if (
Nr == 1client.MessageBox("You received a 1M CPs "null); 
                                        if (
Nr == 2client.Entity.ConquerPoints += 2000000
                                        if (
Nr == 2client.MessageBox("You received a 2M CPs"null); 
                                        if (
Nr == 3client.Entity.ConquerPoints += 0
                                        if (
Nr == 3client.MessageBox("Sorry you loss your Cps "null); 
                                        if (
Nr == 4client.Entity.ConquerPoints += 0
                                        if (
Nr == 4client.MessageBox("Sorry you loss your cps."nullnull0); 
                                        if (
Nr == 5client.Entity.ConquerPoints += 2000000
                                        if (
Nr == 5client.MessageBox("You received a 2M CPs"null); 
                                        if (
Nr == 6client.Entity.ConquerPoints += 1000000
                                        if (
Nr == 6client.MessageBox("You received a 1M CPs"null); 
                                        if (
Nr == 7client.Entity.ConquerPoints += 2000000
                                        if (
Nr == 7client.MessageBox("You received a 2M CPs"null); 
                                        
DialyQuestsEffect.Check(client"Sure"); 

                                    } 
                                    else 
                                    { 

                                        
dialog.Text("You do not have 1M Cps."); 
                                        
dialog.Option("I see."255); 
                                        
dialog.Avatar(116); 
                                        
dialog.Send(); 

                                    } 

                                    break; 
                                } 
                            case 
1
                                { 
                                    if (
client.Entity.ConquerPoints >= 10000000
                                    { 
                                        
client.Entity.ConquerPoints -= 10000000
                                        
Random R = new Random(); 
                                        
int Nr R.Next(17); 
                                        if (
Nr == 1client.Entity.ConquerPoints += 10000000
                                        if (
Nr == 1client.MessageBox("You received a 10M CPs "null); 
                                        if (
Nr == 2client.Entity.ConquerPoints += 20000000
                                        if (
Nr == 2client.MessageBox("You received a 20M CPs"null); 
                                        if (
Nr == 3client.Entity.ConquerPoints += 10000000
                                        if (
Nr == 3client.MessageBox("You received a 10M CPs "null); 
                                        if (
Nr == 3client.Entity.ConquerPoints += 0
                                        if (
Nr == 3client.MessageBox("Sorry you loss your Cps "null); 
                                        if (
Nr == 3client.Entity.ConquerPoints += 0
                                        if (
Nr == 3client.MessageBox("Sorry you loss your Cps "null); 
                                        if (
Nr == 4client.Entity.ConquerPoints += 0
                                        if (
Nr == 4client.MessageBox("Sorry you loss your cps."nullnull0); 
                                        if (
Nr == 5client.Entity.ConquerPoints += 15000000
                                        if (
Nr == 5client.MessageBox("You received a 15M CPs"null); 
                                        if (
Nr == 6client.Entity.ConquerPoints += 10000000
                                        if (
Nr == 6client.MessageBox("You received a 10M CPs"null); 
                                        if (
Nr == 7client.Entity.ConquerPoints += 16000000
                                        if (
Nr == 7client.MessageBox("You received a 16M CPs"null); 
                                        
DialyQuestsEffect.Check(client"Sure"); 

                                    } 
                                    else 
                                    { 

                                        
dialog.Text("You do not have 10M  Cps."); 
                                        
dialog.Option("I see."255); 
                                        
dialog.Avatar(116); 
                                        
dialog.Send(); 

                                    } 

                                    break; 
                                } 
                            case 
2
                                { 
                                    if (
client.Entity.ConquerPoints >= 5000000
                                    { 
                                        
client.Entity.ConquerPoints -= 5000000
                                        
Random R = new Random(); 
                                        
int Nr R.Next(17); 
                                        if (
Nr == 1client.Entity.ConquerPoints += 5000000
                                        if (
Nr == 1client.MessageBox("You received a 5M CPs "null); 
                                        if (
Nr == 2client.Entity.ConquerPoints += 10000000
                                        if (
Nr == 2client.MessageBox("You received a 10M CPs"null); 
                                        if (
Nr == 3client.Entity.ConquerPoints += 5000000
                                        if (
Nr == 3client.MessageBox("You received a 5M CPs "null); 
                                        if (
Nr == 3client.Entity.ConquerPoints += 0
                                        if (
Nr == 3client.MessageBox("Sorry you loss your Cps "null); 
                                        if (
Nr == 3client.Entity.ConquerPoints += 0
                                        if (
Nr == 3client.MessageBox("Sorry you loss your Cps "null); 
                                        if (
Nr == 3client.Entity.ConquerPoints += 0
                                        if (
Nr == 3client.MessageBox("Sorry you loss your Cps "null); 
                                        if (
Nr == 4client.Entity.ConquerPoints += 0
                                        if (
Nr == 4client.MessageBox("Sorry you loss your cps."nullnull0); 
                                        if (
Nr == 4client.Entity.ConquerPoints += 0
                                        if (
Nr == 4client.MessageBox("Sorry you loss your cps."nullnull0); 
                                        if (
Nr == 4client.Entity.ConquerPoints += 0
                                        if (
Nr == 4client.MessageBox("Sorry you loss your cps."nullnull0); 
                                        if (
Nr == 5client.Entity.ConquerPoints += 0
                                        if (
Nr == 5client.MessageBox("Sorry you loss your cps"null); 
                                        if (
Nr == 5client.Entity.ConquerPoints += 10000000
                                        if (
Nr == 5client.MessageBox("You received a 10M CPs"null); 
                                        if (
Nr == 5client.Entity.ConquerPoints += 10000000
                                        if (
Nr == 5client.MessageBox("You received a 10M CPs"null); 
                                        if (
Nr == 6client.Entity.ConquerPoints += 5000000
                                        if (
Nr == 6client.MessageBox("You received a 5M CPs"null); 
                                        if (
Nr == 7client.Entity.ConquerPoints += 7000000
                                        if (
Nr == 7client.MessageBox("You received a 7m CPs"null); 
                                        
DialyQuestsEffect.Check(client"Sure"); 

                                    } 
                                    else 
                                    { 

                                        
dialog.Text("You do not have 5kk cps."); 
                                        
dialog.Option("I see."255); 
                                        
dialog.Avatar(116); 
                                        
dialog.Send(); 
                                    } 
                                    break; 
                                } 
                                break; 
                        } 
                    }      
                    
#endregion 


تمام