You need to store a class object for each player which stores all the class specific things you want in your mod. Then when those things are needed you access the values to be used from the player's class object. It also is useful to associate unique gamemovements with your classes if you want to do something like in tf2 how a scout can double jump and others can't, etc.
Chris -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kushan Gunasekera Sent: Monday, January 21, 2008 4:45 AM To: [email protected] Subject: [hlcoders] Player Class System -- [ Picked text/plain from multipart/alternative ] I was wondering how you can implement a player class system like there is in Counter Strike or Counter Strike: Source. It is just pure cosmetics (has no affect on anything such as health, weapon etc. just a different model file). I already have 2 teams so I would just like classes for those 2 teams. I have an image here (I knows its crappy but it should give you the basic idea): http://www.imagehosting.com/show.php/1524455_untitled.bmp.html I also would like to know why every time I press on say the Rebels button when I select a team, I suicide and then I spawn as a rebel. I'm not very good at coding so could you please tell me what to do exactly? Thanks. -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

