Hi,can anyone teach me how to make the hack undetected?
Code:
#include <windows.h>

/*Pointers*/
#define PlayerPtr 0x00CEDC28
#define ServerPtr 0x00B60FD8

/*Memory*/
#define Spawn1		 0x00B8EE38
#define Spawn2		 0x00B8EE34
#define Spawn3		 0x00B8A7C4



/*Offset*/
#define OFS_Z     0x0025C
#define OFS_NFD   0x00FCCF8


void Hacks()
{
if(PlayerPtr != 0)
{
//QuickSpawn
*(float*)(Spawn1) = 1;
*(float*)(Spawn2) = 1;
*(float*)(Spawn3) = 1;



//No fall damage
*(float*)(PlayerPtr+OFS_NFD) =- 13948; // 13948 - Hight

}
}//End of hacks

void HackThread()
{
for(;;)
{
Hacks();
}
Sleep(200);
}

BOOL WINAPI DllMain(HINSTANCE hDll,DWORD DDNM,LPVOID lpvReserved)
{
if(DDNM == DLL_PROCESS_ATTACH)
{
CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)HackThread,NULL,NULL,NULL);
}
return TRUE;
}



its my base for warrock ind,i try to make that hack,but detected
is that any wrong?
#sry for my bad english,please tell mme,im a noob