Here's code to get 4 miniguns 900 shots, good for maps armed team.
To turn the weapons, press the number 9 key numpad.
To login to your account, use the numbers above your keyboard, because they use the number 9 numpad, the game will close.
Code:
#include <windows.h>
#define ADDR_WEAPONSET 0x37A3B200
VOID WINAPIV THREAD (LPVOID)
{
while (! GetModuleHandleA ("ClientFX.fxd"))
Sleep (100);
while (1)
{
if (GetAsyncKeyState (VK_NUMPAD9) & 1) // key to activate before entering the game
{
DWORD dwWeaponSet = * (DWORD *) (+ ADDR_WEAPONSET 0x1EC);
* (DWORD *) (* (DWORD *) (* (* DWORD) (dwWeaponSet + 0x48) + 0x0) + 0x14) = 291; // Replaces your standard primary weapon
* (DWORD *) (* (DWORD *) (* (* DWORD) (dwWeaponSet + 0x48) + 0x4) + 0x14) = 291; // Replaces your standard secondary weapon
* (DWORD *) (* (DWORD *) (* (* DWORD) (dwWeaponSet + 0x48) + 0x8) + 0x14) = 291; // Replaces your standard knife
* (DWORD *) (* (DWORD *) (* (* DWORD) (dwWeaponSet + 0x48) 0xC +) + 0x14) = 291; // Replaces your standard grenade
}
Sleep (100);
}
}
BOOL APIENTRY DllMain (HINSTANCE hinstDLL, fdwReason DWORD, LPVOID lpvReserved)
{
if (fdwReason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls (hinstDLL);
CreateThread (0, 0, (LPTHREAD_START_ROUTINE) THREAD, 0, 0, 0);
}
return TRUE;
}