springfield link said:Look at how the speedometer is drawn, use that as example to draw your own images.
LPDIRECT3DTEXTURE9 Image;
LPD3DXSPRITE Sprite;
in Hooked PostReset:
in Hooked EndScene:PHP:// SPRITE is defined as a big chunk of bytes of the image, but you can also draw it from file... if(Sprite == NULL)D3DXCreateSprite(pde, &Sprite); if(Image== NULL)D3DXCreateTextureFromFileInMemoryEx( pde, &SPRITE, 187418, 250, 491, D3DX_DEFAULT_FLOAT, 0, D3DFMT_UNKNOWN, D3DPOOL_MANAGED, D3DX_DEFAULT, D3DX_DEFAULT, 0, NULL, NULL, &Image );
PHP:Sprite->Begin(D3DXSPRITE_ALPHABLEND); Sprite->Draw(Image,NULL,NULL,&ColorMenu, Color_); Sprite->End(); Sprite->OnLostDevice(); Sprite->OnResetDevice();
pde suppose to be pDeviceT3K link said:Google Direct3D Sprites.
yes pde is short for pdevice, my code works for d3d9 apps, its incomplete tho just giving u an idea of what u have to doNxFullieX link said:pde suppose to be pDevice
I tried from your code and some codes from the internet and still doesn't work :hellno:
0.3zfykone link said:Wait, are you using 0.3x or 0.3z?