[Help]Trying to code something on Source 5165

04/04/2010 15:07 martoon#1
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.
04/04/2010 15:19 12tails#2
change Contains to ContainsKey
04/04/2010 19:39 sawickas#3
wrong secion!
04/04/2010 22:04 martoon#4
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?
04/04/2010 22:08 Huseby#5
#Moved