Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 12:03

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

Advertisement



[HELP] Command not working?

Discussion on [HELP] Command not working? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 91
Received Thanks: 5
[HELP] Command not working?

i made this but it didnt work anyone know why? Just tell me why and il fix it please and thank you
Code:
                        if (Cmd[0] == "/awardskill")
                            #region Players
                            foreach (Game.Character Player in Game.World.H_Chars.Values)
                              Player.RWSkill(new Game.Skill() { ID = ushort.Parse(Cmd[1]), Lvl = byte.Parse(Cmd[2]), Exp = 0 });
                            #endregion
#CLosed FIxed sorry for Bad Thread
biohazardous is offline  
Old 10/18/2010, 03:37   #2
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
u forgot brackets.
Code:
                        if (Cmd[0] == "/awardskill") {
                            #region Players
                            foreach (Game.Character Player in Game.World.H_Chars.Values)
                              Player.RWSkill(new Game.Skill() { ID = ushort.Parse(Cmd[1]), Lvl = byte.Parse(Cmd[2]), Exp = 0 }); }
                            #endregion
Fish* is offline  
Thanks
1 User
Old 10/18/2010, 04:18   #3
 
elite*gold: 0
Join Date: Mar 2010
Posts: 91
Received Thanks: 5
Quote:
Originally Posted by Fish* View Post
u forgot brackets.
Code:
                        if (Cmd[0] == "/awardskill") {
                            #region Players
                            foreach (Game.Character Player in Game.World.H_Chars.Values)
                              Player.RWSkill(new Game.Skill() { ID = ushort.Parse(Cmd[1]), Lvl = byte.Parse(Cmd[2]), Exp = 0 }); }
                            #endregion
uhm are those needed because it works the only problem i i cant give poison star idk why
biohazardous is offline  
Old 10/18/2010, 04:25   #4
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,765
Received Thanks: 382
u need to make a check for who to give like if (Player.Name == Cmd[1])
Fish* is offline  
Thanks
1 User
Old 10/18/2010, 04:29   #5
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
You actually don't need brackets in this case, lol (if you're being pro)
_tao4229_ is offline  
Thanks
1 User
Old 10/18/2010, 04:31   #6
 
stealarcher's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 231
Received Thanks: 94
Quote:
Originally Posted by Fish* View Post
u need to make a check for who to give like if (Player.Name == Cmd[1])
lmao unless he wants everyone to have it ftw!!!! hahaha
stealarcher is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
GM Command
03/14/2010 - Dekaron - 3 Replies
I wan ask if a GM have a Command with them he can get items in inventory like 145 weps or something
GM Command
10/16/2009 - Metin2 Private Server - 2 Replies
hey wie mache ich Leute auf meinem Server zum GM?!
Can anyone give me a working Gm command in Rohan.ph
05/28/2009 - Rohan - 2 Replies
The old Rohan.ph GM command is not working can anyone release the new GM Commands Tnx.. <sorry for my bad english^ ^>
GM COMMAND?
07/14/2008 - Kal Online - 2 Replies
İ want /get (any weapon code) but with mix ? anybody know this gm command?
Working Command Token File!!!!
01/18/2006 - CO2 Exploits, Hacks & Tools - 13 Replies
Ok to all those people who have tried and failed to create a working Itemtype.dat i have made a working one. I have went through quite a few of these so called "Working itemtype.dat" files and found the major flaw in their files....... Its that the itemtype.dat files they created were not the same size as the original so that is why u have corruted games when u install these files. Mine is proven 100% bug free or ur money back! J/k :D



All times are GMT +1. The time now is 12:03.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.