im crazy!! lol
i need a tutorial: "how to make ghostmode"
plz it is my code:
(i have errors)
plz help me!

plz it is my code:
(i have errors)
plz help me!
Code:
DWORD posptr1;
DWORD posy1;
#define posyoffset1 0xCC
#define charposoffset1 0x66F34
DWORD playertarget1;
#define otherplyrptr1 0x3715DD10
#define yoffset1 0xCC
nom = NULL;
nom = (DWORD)GetModuleHandleA("ClientFX.fxd");
nom += charposoffset1;
memcpy(&posy1,(void *)(nom),4);
posy1 += posyoffset1;
if(GetAsyncKeyState(VK_DELETE)<0){
Sleep(200);
ghostmode++;
if(ghostmode > 1){
ghostmode = 0;
}
}
if(ghostmode){
*(float*)posy1 = y;
*(float*)(posy1+0x4) = x;
*(float*)(posy1-0x4) = z;
if(GetAsyncKeyState(VK_RIGHT)<0){
Sleep(1);
z++;
z++;
z++;
}
}
posptr1 = (DWORD)GetModuleHandleA( "ClientFX.fxd" );
posptr1 += charposoffset1;
memcpy(&posy1,(void *)(posptr1),4);
posy1 += posyoffset1;
if(posy1 > posyoffset1 )
{
posptr1 = (DWORD)GetModuleHandleA( "ClientFX.fxd" );
posptr1 += charposoffset1;
memcpy(&posy1,(void *)(posptr1),4);
posy1 += posyoffset1;
}
if(posy1 > posyoffset1 )
{
if(bullet){
if( GetAsyncKeyState( VK_PRIOR ) &1)//UP
{
*(float*)posy1 = *(float*)posy1+100.0f;
*(float*)(posy1+0x4) = *(float*)(posy1+0x4);
*(float*)(posy1-0x4) = *(float*)(posy1-0x4);
}
if( GetAsyncKeyState( VK_NEXT ) &1) //Down
{
*(float*)posy1 = *(float*)posy1-100.0f;
*(float*)(posy1+0x4) = *(float*)(posy1+0x4);
*(float*)(posy1-0x4) = *(float*)(posy1-0x4);
}
if( GetAsyncKeyState( VK_UP ) &1) //Forward
{
*(float*)(posy1) = *(float*)(posy1);
*(float*)(posy1+0x4) = *(float*)(posy1+0x4)+100.0f;
*(float*)(posy1-0x4) = *(float*)(posy1-0x4);
}
if( GetAsyncKeyState( VK_DOWN ) &1) //Backward
{
*(float*)(posy1) = *(float*)(posy1);
*(float*)(posy1+0x4) = *(float*)(posy1+0x4)-100.0f;
*(float*)(posy1-0x4) = *(float*)(posy1-0x4);
}
}
}





