wrong section lmao post in helpn next time also... fix ur pic and vid so i can see... and others
https://www.youtube.com/watch?v=KG34vLShuDA&hd=1
I have some problem with DrawSprite, sometime crash game by DrawSprite. Who can help me? i will credit you in my hack.
https://www.upanh.com/upanh_crossfire...nqe5xbkbsh.htm
lol Thank you to
My teacher : *****
@ac1d_buRn Color Picker
my yahoo : henry_chungnguyen89
Last edited by CTTBOT; 09-04-2011 at 12:24 AM.
wrong section lmao post in helpn next time also... fix ur pic and vid so i can see... and others
void CreateSprite1(LPDIRECT3DDEVICE9 pDevice)
{
POS.x = 20; POS.y = 277; POS.z = 0;
if(txColor == NULL)D3DXCreateTextureFromFileInMemoryEx(pDevice
,&Color,sizeof(Color),270,80,D3DX_DEFAULT,0,D3DFMT _UNKNOWN
,D3DPOOL_MANAGED,D3DX_DEFAULT,D3DX_DEFAULT,0,NULL, NULL,&txColor);
D3DXCreateSprite(pDevice, &spColor);
Create = FALSE;
}
CreateSprite1(pDevice);
spColor->Begin(NULL);
spColor->Draw(txColor, NULL, NULL, &POS, 0xFFFFFFFF);
spColor->End();
help me plz, i use it and crash when join game
your not resetting the sprite.
use this
Call that in reset. And it SHOULD fix it. (what I used to do with combat arms)Code:LPDIRECT3DDEVICE9 g_pDevice = 0; void ReCreate(LPDIRECT3DDEVICE9 pDevice) { if (g_pDevice != pDevice) { g_pDevice = pDevice; try { if (spColor != 0) spColor->Release(); } catch (...) {} spColor = 0; spColor->Begin(NULL); spColor->Draw(txColor, NULL, NULL, &POS, 0xFFFFFFFF); spColor->End(); } }
thank you, now i try
@ac1d_buRn lol not work with my hak, when i call in myPresent is work but in myReset not work.