I'm trying to code this game and making player chams although I'm having difficulty finding the code and making them. I'm new to this whole C++ I've been reading about it here. I get some of it but Now I'm trying to make player chams that changes player model to somthing brighter and maybe get them to work behind walls. How Can I make this sort of code?
You would be best to look on the forum related to the graphic technology you are using. (e.g. SDL, OpenGL or DirectX). The technique you are after is very specific to each individual technology and not related to the C++ language directly.
I would suggest trying GameDev or NeHe. They have excellent tutorials for OpenGL development.