Register for your free account! | Forgot your password?

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

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

Advertisement



[Help]Trying to code something on Source 5165

Discussion on [Help]Trying to code something on Source 5165 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2006
Posts: 133
Received Thanks: 16
[Help]Trying to code something on Source 5165

I tryed to code that if you have this skill don't learn it again.

So i tryed if (Skills.Contains(1000)) *1000 is Thunder skill id*
But it is not working, can anyone help me?
I think im missing the ID of skill.
martoon is offline  
Old 04/04/2010, 15:19   #2
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
change Contains to ContainsKey
12tails is offline  
Old 04/04/2010, 19:39   #3
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
wrong secion!
sawickas is offline  
Thanks
1 User
Old 04/04/2010, 22:04   #4
 
elite*gold: 0
Join Date: Dec 2006
Posts: 133
Received Thanks: 16
Quote:
Originally Posted by sawickas View Post
wrong secion!
My bad.
#Request move

Quote:
Originally Posted by 12tails View Post
change Contains to ContainsKey!
It doesnt work like that if (Skills.ContainsKey(100)).
Can anyone help me please?
martoon is offline  
Old 04/04/2010, 22:08   #5
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,164
#Moved
Huseby is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
5165 source how do i add all jobs in one small code?
02/18/2010 - CO2 Private Server - 5 Replies
if (GC.MyChar.Reborns <= 1 | GC.MyChar.Reborns <= 2 || GC.MyChar.Reborns <= 3 || GC.MyChar.Reborns <= 4 || GC.MyChar.Reborns <= 5 || GC.MyChar.Job == 132 || GC.MyChar.Job == 142 || GC.MyChar.Job == 101 || GC.MyChar.Job == 133 || GC.MyChar.Job == 143 || GC.MyChar.Job == 134 || GC.MyChar.Job == 144 || GC.MyChar.Job == 100) how do i make this code way way smaller? just a code to add a WHOLE CLASS like...



All times are GMT +2. The time now is 23:24.


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.