hatt jemand pattern für mich =?
...Quote:
Kann mir hier wer bitte helfen
LPDIRECT3DTEXTURE9 cRed;
bool Color = true;
if(Color)
{
GenerateTexture(pDevice, &cRed,Red);
Color = false;
}
if( Bla == 1 ) pDevice->SetTexture(0, cRed);
float x;
float y;
float z;
void Save ()
{
if(GetAsyncKeyState(VK_UP))
{
ofstream fout("Speicherort&Speichername.txt");
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
x = *(float*)(dwPlayerPtr + OFS_X);
y = *(float*)(dwPlayerPtr + OFS_Y);
z = *(float*)(dwPlayerPtr + OFS_Z);
fout << x;
fout << endl;
fout << y;
fout << endl;
fout << z;
fout << endl;
}
}
[COLOR="Lime"]if(Items.Walk==1)
{
WriteAsm((void *)ASM_WTW,(BYTE *)"[B]ON_BYTE[/B]", 3);
}
if(Items.Walk==0)
{
WriteAsm((void *)ASM_WTW,(BYTE *)"[B]OFF_BYTE[/B]", 3);
}[/COLOR]