Credits to LilCrazed
Sorry if it has been posted i searched and didn't find it
In d3d8dev.cpp
under the includes put
Code:
#define Player (m_Stride == 44)
#define Walls (m_Stride == blah)
#define Flags (NumVertices == blah)
#define Gloves (NumVertices == 571)
#define Vehicles (NumVertices == blah || NumVertices == blah || NumVertices == blah)
#define Crates (NumVertics == blah || NumVertics == blah)
and in draw index primitive
Code:
if (Player && !Flags && !Gloves && !Vehicles)
{
//cham code here
}
diff example
Code:
if (Player && !Flags && !Gloves && !Vehicles || Walls && !Crates)
{
//cham code here
}
looks like this
Gloves, Flags and Vehicles are not chammed, well i chammed vehicles a diff color then players in this pic.