عرض مشاركة واحدة
احصائياتى

الردود
1

المشاهدات
1975
 
shkaoa

shkaoa is on a distinguished road

    غير متواجد

المشاركات
100

+التقييم
0.05

تاريخ التسجيل
Jan 2020

الاقامة

نظام التشغيل

رقم العضوية
3399
2020-04-21, 12:00 PM
المشاركة 1 
#1  
افتراضي اضافة اولاين بوينت
اول حجة هتفتح كلاس

nps.cs

كود


كود:
//BY-Mr.Abdallah
                #region Online Points Changer
                
case 12313:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("Hello " client.Entity.Name " I am changing OnlinePoints. Your OnlinePoints : " client.Entity.OnlinePoints " ");
                                    
dialog.Option("VIP 7 [25.000]#35"12);
                                    
dialog.Option("Gold Prize -1[Prem] (100,000)#35 OnlinePoints."11);
                                    
dialog.Option("150 OP To 100,000,000 CPs#35"14);
                                    
dialog.Option("Just passing by."255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
14:
                                {
                                    if (
client.Entity.OnlinePoints >= 150)
                                    {
                                        
client.Entity.OnlinePoints -= 150;
                                        
client.Entity.ConquerPoints += 100000000;
                                    }
                                    else
                                    {
                                        
dialog.Text("Please take 150 OnlinePoints.");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
11:
                                {
                                    
dialog.Option("GoldPrize -1 (20,000) Online Points "7);
                                    
dialog.Option("Just passing by."255);
                                    
dialog.Avatar(116);
                                    
dialog.Send();
                                    break;
                                }
                            case 
12:
                                {
                                    
dialog.Option("( VIP 7 ) 25000 Online Points."2);
                                    
dialog.Option("Just passing by."255);
                                    
dialog.Avatar(116);
                                    
dialog.Send();
                                    break;
                                }
                            case 
2:
                                {
                                    if (
client.Entity.VIPLevel == 7)
                                    {
                                        if (
client.Entity.OnlinePoints >= 25000)
                                        {
                                            
client.Entity.OnlinePoints -= 25000;
                                            
client.Entity.VIPLevel 7;
                                        }
                                        else
                                        {
                                            
dialog.Text("Please take 25000 OnlinePoints.");
                                            
dialog.Option("I see."255);
                                            
dialog.Avatar(116);
                                            
dialog.Send();
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry Can't upgrade any more.");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
7:
                                {
                                    if (
client.Entity.OnlinePoints >= 20000)
                                    {
                                        
client.Entity.OnlinePoints -= 20000;
                                        
client.Inventory.Add(210007501);
                                    }
                                    else
                                    {
                                        
dialog.Text("you don't have 20,000 Online Points!");
                                        
dialog.Option("i'll see."255);
                                    }
                                    break;
                                }
                        }
                        break;
                    }
                
#endregion 

طبعا هدخل عل نفي كات

هتبحق عل nps

هتكب الرقم

12313

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

كلمة شكرا تكفي