PDA

View Full Version : Help me,



Skull
06-11-2008, 01:13 PM
were to paste this code for background for ur d3d?
because i tryed to past in :
d3d8dev.cpp
main.cpp
but it gives error.
but were to add and how to add?


///heres how to do a gui box with a border

D3DRECT HUDRect1 = {345.0f, 310.0f, 680.0f, 500.0f};
m_pD3Ddev->Clear( 1, &HUDRect3, D3DCLEAR_TARGET, txtblack, 0, 0 );

D3DRECT HUDRect2 = {350.0f, 315.0f, 675.0f, 495.0f};
m_pD3Ddev->Clear( 1, &HUDRect4, D3DCLEAR_TARGET, txtgray, 0, 0 );


////the first one is your border then you draw the second one to fill the inside of your border.

////the cord's. are x, y, width, height

dutch
06-11-2008, 03:52 PM
were to paste this code for background for ur d3d?
because i tryed to past in :
d3d8dev.cpp
main.cpp
but it gives error.
but were to add and how to add?


///heres how to do a gui box with a border

D3DRECT HUDRect1 = {345.0f, 310.0f, 680.0f, 500.0f};
m_pD3Ddev->Clear( 1, &HUDRect3, D3DCLEAR_TARGET, txtblack, 0, 0 );

D3DRECT HUDRect2 = {350.0f, 315.0f, 675.0f, 495.0f};
m_pD3Ddev->Clear( 1, &HUDRect4, D3DCLEAR_TARGET, txtgray, 0, 0 );


////the first one is your border then you draw the second one to fill the inside of your border.

////the cord's. are x, y, width, height

send me ur teamview id and pass

Skull
06-12-2008, 12:28 AM
well we can do that better on msn,
because u posted that post yesterday and i dont leave my teamviewer 24 hours on lol.

my msn :
ghostlife@live.nl

Gordon
06-12-2008, 02:25 AM
why not just learn c++ basics before copy and pasting a d3d hook?

kidz

koodaaja
06-12-2008, 02:55 AM
i can't help you XDXD

DANNY1208
06-13-2008, 12:06 PM
Guy above is a spammer -.- ban please, also can i start making d3d cuz i know abit of c++ i know how to get superjump etc to work, basically nearly everything excpt for nops and stuff. fgt29