Code:
#include <Windows.h>
VOID WINAPIV Hack(LPVOID)
{
while (1)
{
if (GetAsyncKeyState(VK_F6))
{
*(DWORD*)(*(DWORD*)(*(DWORD*)(0x009CD258) + 0x18) + 0x188) = 5;
*(float*)(*(DWORD*)(*(DWORD*)(0x009CD258) + 0x18) + 0x178) = 1200.0f;
*(float*)(*(DWORD*)(*(DWORD*)(0x009CD258) + 0x18) + 0x2e4) = 0.125f;
*(BYTE*)(*(DWORD*)(*(DWORD*)(0x009CD258) + 0x18) + 0x16B) = 101;
*(BYTE*)(*(DWORD*)(*(DWORD*)(0x009CD258) + 0x18) + 0x169) = 0;
}
}
}
INT WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
DisableThreadLibraryCalls(hDll);
if (dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hack, NULL, NULL, NULL);
}
return true;
}
Compile this in visual studio and you will have a M4A1 Damagex5, Speed to 45, All2Melee, Scope+Silencer(Not work due to turning into melee weapon)
- - - Updated - - -
(VK_HOTKEY) just set it yourself to whatever you want