STW patched?
Hey guys i made a STW, and i tested on TUT camp, it just worked fine, but after 4 shoots it gave me error o.0
or maybe my mistake ....
code:
or maybe my mistake ....
code:
Code:
if (stw)
if(CShell+WallMgr)
{
for(int i=0; i<563; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WallMgr))+(4*i))) != NULL )
*(bool*)((*(DWORD*)((CShell+WallMgr))+(4*i)+0x4F0 )) = true;
*(bool*)((*(DWORD*)((CShell+WallMgr))+(4*i)+0x4EC )) = true;
*(bool*)((*(DWORD*)((CShell+WallMgr))+(4*i)+0x4E8 )) = true;
}
}





560 is the weapon Loop.So that the feature will work with the 560 weapons.