Code:
if(fullbright)
{ // then
pDevice->SetRenderState(D3DRS_LIGHTING, false); //Set in fullbright by OvWhZ
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame
}// end
if(fullbright)
{ // then
pDevice->SetRenderState(D3DRS_LIGHTING, false); //Set in fullbright by OvWhZ
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame
}// end
Quote:
Here you go...Code:if(fullbright) { // then pDevice->SetRenderState(D3DRS_LIGHTING, false); //Set in fullbright by OvWhZ pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame }// end
//DIP Start also will Work With SRS SetRenderState
if(fullbright)
{ // then
pDevice->SetRenderState(D3DRS_LIGHTING, false); //Set in fullbright by OvWhZ
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame
}// end
if (GetAsyncKeyState(VK_F1)&1) // if we click f1
{ fullbright = !fullbright; } // fullbright = on
int fullbright;
thanks anyway.. bcause im lazy to put instructions :DQuote:
Basically this code will go into your hack for example;
Their will normaly be more hacks their but im just showing exampleCode://DIP Start also will Work With SRS SetRenderState if(fullbright) { // then pDevice->SetRenderState(D3DRS_LIGHTING, false); //Set in fullbright by OvWhZ pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255)); // use all colors to glow up the lighting ingame }// end
Then you will have to declare a Hotkey for it you can do that in endscene by using the GetAsyncKeyState Function
Now we have to declare fullbright in Globals, we can do this by typingCode:if (GetAsyncKeyState(VK_F1)&1) // if we click f1 { fullbright = !fullbright; } // fullbright = on
Code:int fullbright;