SpeedHack

Posts 1–2 of 2 · Page 1 of 1
SpeedHack
I coded my own speedhack but I'll do not give my addy to avoid copy paste and the problem is when I respawn when i press speed hack numpad like 2 or 3 to activated the hack and when I press "W' it walks backward when I press "S" it walks forward can someone help me?

Code:
void SpeedNormal()
{
if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+ADR_SPEED) = 100.0f; 
}
}
}

void SpeedX2()
{
if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*) (dwPlayerPtr+ADR_SPEED) = 200.0f;
}
}
}

void SpeedX3()
{
if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+ADR_SPEED) = 300.0f;
}
}
}
If you're using the offset addy just add "-" before the value ie: -300.00f
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us