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, 04:14 PM
this dont work but i find the working code :)
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.