PDA

View Full Version : Help Me D3d Draw Test!



Wrhackadmin
04-11-2008, 10:35 AM
FIXED Thanxs

zarut
04-11-2008, 12:09 PM
Just follow the text tutorial once you added everything that you need to get text tutorial work put this

m_pFont_new->DrawText(400.0f, 0.0f, txtRed, "Spawn ON");

if( GetAsyncKeyState( VK_NUMPAD1)&1 )
H_Spawn = !H_Spawn; ////this tells it on or off

if (H_Spawn) ////if H_Spawn is true
{
Spawn(); /// hack
Here
}
bool H_Spawn = false;

so it will look like


if( GetAsyncKeyState( VK_NUMPAD1)&1 )
H_Spawn = !H_Spawn; ////this tells it on or off

if (H_Spawn) ////if H_Spawn is true
{
Spawn(); /// hack
m_pFont_new->DrawText(400.0f, 0.0f, txtRed, "Spawn ON");
}
bool H_Spawn = false;

anyway i doubt it works but worth a try i guess...

Wrhackadmin
04-11-2008, 02:14 PM
ty now i test this.

Wrhackadmin
04-11-2008, 04:14 PM
this dont work but i find the working code :)