Results 1 to 6 of 6
  1. #1
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    void FillRGB( int x, int y, int w, int h, D3DCOLOR yourcolor, IDirect3DDevice9* pDevice )
    {
    const DWORD D3D_FVF = D3DFVF_XYZRHW | D3DFVF_DIFFUSE;
    struct Vertex
    {
    float x,y,z,ht;
    DWORD yourcolor;
    }

    V[4] =
    {
    {(float)x,(float)(y+h), 0.0f, 0.0f, yourcolor},
    {(float)x,(float)y, 0.0f, 0.0f, yourcolor},
    {(float)(x+w),(float)(y+h), 0.0f, 0.0f, yourcolor},
    {(float)(x+w),(float)y, 0.0f, 0.0f, yourcolor}
    };
    pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, TRUE );
    pDevice->SetRenderState( D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA );
    pDevice->SetRenderState( D3DRS_ZENABLE, D3DZB_FALSE );
    pDevice->SetRenderState( D3DRS_FOGENABLE, false );

    pDevice->SetFVF(D3D_FVF);
    pDevice->SetTexture(0, NULL);
    pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,V,sizeof(Ve rtex));

    }

    creditz to who ever made it
    enjoy it or not

    markoj wanted it, here u have /

    with the D3DCOLR_ARGB(A,R,G,B) do u make transparenty

  2. The Following 4 Users Say Thank You to kotentopf For This Useful Post:

    markoj (08-28-2010),PashaAmd (04-02-2011),Solify (03-06-2011),z0mbie- (11-30-2010)

  3. #2
    DeadLinez's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    http://mpgh.net Sexy Points: 989,576,420
    Posts
    465
    Reputation
    11
    Thanks
    499
    My Mood
    Psychedelic
    wdf is a draw box?

  4. #3
    kotentopf's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    602
    Reputation
    26
    Thanks
    251
    Quote Originally Posted by DeadLinez View Post
    wdf is a draw box?
    u only must make a border than u can call it "box"

  5. #4
    Stephen's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Location
    Engine.exe
    Posts
    4,690
    Reputation
    184
    Thanks
    1,147
    My Mood
    Aggressive
    use CODE Tags..

  6. #5
    mo3ad001's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    842
    Reputation
    53
    Thanks
    795
    My Mood
    Busy
    did you mean back ground to the Menu ??

    H A X O
    Email : Noobmem@hotmail.com


  7. #6
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,067
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Thanks + rep!
    Dont ban me

Similar Threads

  1. Aimbot Source (Works for any game)
    By flameswor10 in forum General
    Replies: 96
    Last Post: 02-07-2011, 07:39 PM
  2. [RELEASE] FULL WORKING INJECTOR SOURCE CODE
    By flameswor10 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 37
    Last Post: 08-29-2010, 06:03 AM
  3. [Request] A CF hack Source that doesent work, dont flame, Read Inside.
    By Greengo in forum CrossFire Hacks & Cheats
    Replies: 19
    Last Post: 12-25-2009, 09:55 PM
  4. [REQUEST]Autoclicker Source(That works for CA)
    By Klumzy in forum Visual Basic Programming
    Replies: 4
    Last Post: 11-16-2009, 09:48 PM
  5. CS-source hack!! 100% works! CS:S 5.0
    By klobummser in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 3
    Last Post: 10-26-2009, 07:03 AM