Thread: Chams code ...

Results 1 to 1 of 1
  1. #1
    zzz12's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Location
    singapore?
    Posts
    13
    Reputation
    10
    Thanks
    2
    My Mood
    Fine

    Question Chams code ...

    Hello all,I need help with my Chams after learning how to make in from some tuts.

    Code:

    LPDIRECT3DVERTEXBUFFER8 Stream_Data;
    UINT Stride = 0;

    if (m_pD3DDev->GetStreamSource(0, &Stream_Data, &Stride) == D3D_OK)
    Stream_Data->Release();

    if(Chams)
    if(Player)
    {
    {
    //If the player stride is active.
    DrawIndexedPrimitive(Device, Type, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    //If it's behind the wall, then fill it with Green
    Device->SetRenderState( D3DRS_ZENABLE,false );
    Device->SetTexture( 0, texGreen );
    //and then disable the Z Axis buffer, and bring them to the front.
    DrawIndexedPrimitive(Device, Type, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    //if the player is in front of the wall
    Device->SetRenderState( D3DRS_ZENABLE, true );
    //turn the Z Buffer back on, and then fill the playermodel with blue
    Device->SetTexture( 0, texBlue);
    DrawIndexedPrimitive(Device, Type, MinIndex, NumVertices, StartIndex, PrimitiveCount);
    }
    }

    Edit: Oh yeah,Please give me the full code with/without menu(If that code has the menu remember to give me this (GetAnsycKeyState(VK_SHIFT)&1); im not begging just want to learn how to code.
    And if you give me the full code please Explain it IN FULL DETAILS
    ----------
    Thanks----------
    ----------
    Last edited by zzz12; 02-07-2010 at 02:45 AM.

  2. The Following User Says Thank You to zzz12 For This Useful Post:

    Akisuzi (02-07-2010)

Similar Threads

  1. Need source code for chams hack
    By TheCamels8 in forum WarRock Hack Source Code
    Replies: 5
    Last Post: 06-11-2010, 10:00 PM
  2. [Request] How to make chams from source code [Spoonfed]
    By mutemulti in forum Combat Arms Hacks & Cheats
    Replies: 2
    Last Post: 05-26-2010, 06:10 PM
  3. Chams codes.
    By juanrineytor in forum Combat Arms Discussions
    Replies: 9
    Last Post: 11-11-2009, 11:43 AM
  4. Chams Color Coding Tutorial
    By 420Suicide in forum Combat Arms Hacks & Cheats
    Replies: 9
    Last Post: 12-28-2008, 10:19 AM
  5. Cham Colors And Their Codes
    By Zhellbound in forum Combat Arms Hacks & Cheats
    Replies: 4
    Last Post: 11-10-2008, 09:21 AM