Ineed Code for See ghosts.. D3D :D

Posts 1–6 of 6 · Page 1 of 1
Ineed Code for See ghosts.. D3D :D
Can any one helping me..

i need seeghosts code..
Code:
	if( fbright )
	{
		pDevice->SetRenderState(D3DRS_LIGHTING, false); 
		pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255));
	}
Quote Originally Posted by XarutoUsoCrack View Post
Code:
	if( fbright )
	{
		pDevice->SetRenderState(D3DRS_LIGHTING, false); 
		pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,255));
	}
LOL... If I'm not mistaken this is not the full seeghost it's fullbright with a seeghost knife only.
Code:
INT SeeGhosts;
/*=============================*/
		if( GetAsyncKeyState(VK_F10)&1 )
        SeeGhosts= !SeeGhosts;
	if(SeeGhosts)
	{
		pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
                pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
		pDevice->SetRenderState(D3DRS_LIGHTING, false);		
		pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,255,255));
		pDevice->SetRenderState(D3DRS_FOGENABLE, false);
}
Good Luck.
Saeed thanks delete it plz i copy it thanks open FB @[S]aeed
Open fb
Answered .
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us