It's the hook that will get detected by X-Trap not Functions like drawing a text or a box(..)
Is anyone can provide me the simplest code, that will draw anyting (text, rectangle, circle, etc...) on CrossFire, without Xtrap error ?
That Function Will help u to understand :
Code:FillRGB(pDevice, CenterX, CenterY-15, 3, 30,Red_);//Vertical linePS: iT draws a vertical line in the center of the screen !Code:VOID FillRGB( LPDIRECT3DDEVICE9 pDevice, INT x, INT y, INT w, INT h, D3DCOLOR color ){ D3DRECT rec = { x, y, x + w, y + h }; pDevice->Clear( 1, &rec, D3DCLEAR_TARGET, color, 0, 0 ); }
rabir007 (01-23-2013)