by Bob » Mon Sep 10, 2007 8:34 am
=\
The code i pasted above is part of the Team menu class, in the OnCommand function...
You may want to try doing more reading before you get too heavily into HL2. on a ten scale of complexity this is a 1 and there are much more difficult things in source that you will need to do more reading about in order to truly understand. you have a lot of things ahead of yourself, and i would highly suggest that you do about 10x more reading than code writing. Learning C++ while learning Source is not a possibility. Its got nothing to do with chance or whatever. You have to make educated guesses when you begin and eventually you will be thinking in source and able to throw things together in a night.
Go look through some of the other tutorials that are in source and let me know what your stance is on those. If you are still having problems getting through them, hit me up on AIM and we'll talk.