#include "stdafx.h"
void WepChange(int x, int y)
{
memcpy((unsigned long*)((*(unsigned long*)(((unsigned long)GetModuleHandleA("CShell.dll") + 0xA65EE8))+x*4)),(unsigned long*)((*(unsigned long*)(((unsigned long)GetModuleHandleA("CShell.dll") + 0xA65EE8))+y*4)),4);
}
ChangeGun(25,0);
kk so i got a different code and i did everything that they told me (credit to [G-FORCEISDEADDONTASKWHY])
and this is the error i got...
1>------ Build started: Project: newlol1, Configuration: Debug Win32 ------
1> newlol1.cpp
1>c:\users\name\documents\visual studio 2010\projects\newlol1\newlol1\newlol1.cpp(7): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\name\documents\visual studio 2010\projects\newlol1\newlol1\newlol1.cpp(7): error C2078: too many initializers
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========