Register for your free account! | Forgot your password?

You last visited: Today at 01:31

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



VIP MAP NPC

Discussion on VIP MAP NPC within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
N.I.G.H.T.M.A.R.E's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 110
Received Thanks: 13
Talking VIP MAP NPC

Hello folks, I need help very simple, I'm wanting to add an NPC that sends a MAP OF HUNTING VIP ACCOUNTS ONLY.
Fallow able to help me?

Code:
                                        case 1:
                                            {
                                                if (client.Entity.Level >= 131)
                                                    if (client.Entity.ConquerPoints >= 2000)
                                                        client.Entity.Teleport(1354, 005, 290);
                                                        client.Entity.ConquerPoints -= 2000;
BB, thank
N.I.G.H.T.M.A.R.E is offline  
Old 06/30/2011, 20:34   #2
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Add a check to check if they're a VIP
_DreadNought_ is offline  
Old 06/30/2011, 21:00   #3
 
N.I.G.H.T.M.A.R.E's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 110
Received Thanks: 13
Yes, but i need coder for this, you can add this in my coder?
N.I.G.H.T.M.A.R.E is offline  
Old 06/30/2011, 21:07   #4
 
thesamuraivega's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 125
Received Thanks: 21
Quote:
Originally Posted by liviobvm20 View Post
Hello folks, I need help very simple, I'm wanting to add an NPC that sends a MAP OF HUNTING VIP ACCOUNTS ONLY.
Fallow able to help me?

Code:
                                        case 1:
                                            {
                                                if (client.Entity.Level >= 131)
                                                    if (client.Entity.ConquerPoints >= 2000)
                                                        client.Entity.Teleport(1354, 005, 290);
                                                        client.Entity.ConquerPoints -= 2000;
BB, thank


Code:
#region vipslevel
                case 22222:
                    {
                        switch (npcRequest.OptionID)
                        {
                            case 0:
                                {
                                    if (client.Entity.Level >= 131)
                                    {
                                        if (client.Entity.ConquerPoints >= 2000)
                                        {
                                            if (client.Entity.VIPLevel == 6)
                                            {
                                                client.Entity.Teleport(1354, 005, 290);
                                                client.Entity.ConquerPoints -= 2000;
                                            }
                                            else
                                            {
                                                dialog.Text("You need VipLevel 6");
                                                dialog.Option("OkTy", 255);
                                                dialog.Send();
                                                break;
                                            }
                                        }
                                        else
                                        {
                                            dialog.Text("You need 2000 cps");
                                            dialog.Option("OkTy", 255);
                                            dialog.Send();
                                            break;
                                        }
                                    }
                                    else
                                    {
                                        dialog.Text("You need Level 131 or more!");
                                        dialog.Option("OkTy", 255);
                                        dialog.Send();
                                        break;
                                    }
                                }
                                break;
                        }
                    }
                    break;
                #endregion
thesamuraivega is offline  
Thanks
1 User
Old 07/01/2011, 07:59   #5
 
N.I.G.H.T.M.A.R.E's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 110
Received Thanks: 13
Thanks, i will make test now... go go go!
N.I.G.H.T.M.A.R.E is offline  
Reply

Tags
map, vip




All times are GMT +2. The time now is 01:31.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.