SolvedHelp na Base "ESP World e Telekill".

Posts 1–7 of 7 · Page 1 of 1
Help na Base "ESP World e Telekill".
E aew gente queria uma ajuda aqui nessa na Base "ESP World e Telekill" Postado por @WE11ington.

O problema é que eu reli e reli essa base monte de fez e queria uma ajuda para botar cor Transparente.
Quem puder min ajudar nesse erro ficarei grato. *-*

Base Postada por @WE11ington.
ESP World e Telekill
Porra, seu português me deu câncer.
Quote Originally Posted by Templar View Post
Porra, seu português me deu câncer.
Esse jeito porque eu faço muitos "Contrato" ai peguei o costume. rs
Coloca vidro nela..
Eu não sou índio ¬¬"

O que seria "rele rele"??
Code:
void DrawBox(int x, int y, int w, int h, D3DCOLOR Color, D3DCOLOR BorderColor, LPDIRECT3DDEVICE9 pDevice) 
{
	DrawBorder(x, y, w, h, 2, BorderColor, pDevice);
	
	const DWORD D3D_FVF = D3DFVF_XYZRHW | D3DFVF_DIFFUSE;
	struct Vertex {
		float x, y, w, h;
		D3DCOLOR Color;
	}
	V[4] = {{(float) x, (float)(y + h), 0.0f, 0.0f, Color}, 
			{(float) x, (float)y, 0.0f, 0.0f, Color}, 
			{(float)(x + w), (float)(y + h), 0.0f, 0.0f, Color}, 
			{(float)(x + w), (float)y, 0.0f, 0.0f, Color}
	};
	pDevice->SetRenderState(D3DRS_ALPHABLENDENABLE, D3DZB_TRUE);
	pDevice->SetRenderState(D3DRS_DESTBLEND, D3DBLEND_INVSRCALPHA);
	pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
	pDevice->SetRenderState(D3DRS_FOGENABLE, D3DZB_FALSE);

	pDevice->SetFVF(D3D_FVF);
	pDevice->SetTexture(0, NULL);
	pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP, 2, V, sizeof(Vertex));
}
veja se resolve XD
OBS: Troque seu DrawBox por esse drawbox ai em cima! ^
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?