Register for your free account! | Forgot your password?

You last visited: Today at 11:46

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

Advertisement



Will this work

Discussion on Will this work within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 02/23/2010, 21:56   #16
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
Quote:
Originally Posted by Korvacs View Post
Correct.

If you want to do more things you should probably use a switch, you can handle all possibilities and use default: for everything else.
Example of a switch for op...


Code:
[COLOR="Red"]String Switch..[/COLOR]
string Jesus = "";


            switch (Jesus)
            {
                case "God":
                    {
                        break;
                    }
                case "Mary":
                    {
                        break;
                    }
                case "Empty Project":
                    {
                        break;
                    }
                default:
                    {
                        break;
                    }
            }
or...

Code:
[COLOR="Magenta"]Byte Switch[/COLOR]
Byte Jesus = 0;


            switch (Jesus)
            {
                case 1:
                    {
                        break;
                    }
                case 2:
                    {
                        break;
                    }
                case 3:
                    {
                        break;
                    }
                default:
                    {
                        break;
                    }
            }

default is basically if its not there it will go to there.. its like the else statement..


ofcourse you can use switches for various things..sometimes an if-else statement is much better than switches...
PeTe Ninja is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
how to make DSEEG work with dragonica (THQ/ICE) work for vista 32 bit users
10/16/2010 - Dragonica - 4 Replies
ok after 3 hours of messing around with dragonica i found a way to make it work with DSEEG for those who got the memory edit error firstly within the 1 minture the game is open with dseeg remove all hotkeys and delete all bot settings and click save leave the patcher.exe filepath as it is, select THQ and close everything, make sure that you set DSEEG to run as admin from the compatibility tab in properties. now delete engine.ini from both c: drive and the dragonica release folder ...
[Release] ReXIGNation (Anti-Xigncode+CRC Bypass) spam here work/no work
07/19/2010 - Dekaron - 9 Replies
F>Y>I the bypass still work for me reinstall the game and run the bypasss with Cheat engine only, no winhex or any other way will make you DC right away when log in, am a vista user and i testes 3 different way and only CE work now hope this help u guy :mofo:
opk hacks work 09-01-2010 work slot
01/14/2010 - WarRock Hacks, Bots, Cheats & Exploits - 26 Replies
http://i47.tinypic.com/211j4g5.jpg virüs total Virustotal. MD5: abc818059ccbd0f5b1f10dc507e6a43a Heuristic.BehavesLike.Win32.CodeInjection.P W32/Heuristic-KPP!Eldorado W32/Heuristic-KPP!Eldorado link vakitharcama09ocak.zip ... at uploaded.to - Free File Hosting, Free Image Hosting, Free Music Hosting, Free Video Hosting, ...



All times are GMT +2. The time now is 11:46.


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.